Downloads and installs Node.js to the shinyelectron cache directory. This allows using Node.js/npm without requiring system-wide installation.
Arguments
- version
Character Node.js version to install. If NULL (default), automatically detects the latest LTS version.
- platform
Character target platform ("win", "mac", "linux"). Default is current platform.
- arch
Character target architecture ("x64", "arm64"). Default is current architecture.
- force
Logical whether to reinstall if already exists. Default FALSE.
- verbose
Logical whether to show progress. Default TRUE.
See also
install_r(), install_python() for other runtime installers.