usage: nodeenv [OPTIONS] DEST_DIR
positional arguments:
DEST_DIR Destination directory
options:
-h, --help show this help message and exit
--version show program's version number and exit
--print-completion SHELL
Print the completion script for SHELL (bash, zsh or fish) and exit. Needs
shtab: pip install "nodeenv[completion]"
-n NODE_VER, --node NODE_VER
The node.js version to use, e.g., --node=0.4.3 will use the node-v0.4.3 to
create the new environment. Accepts npm-style semver ranges too, e.g.
--node=22, --node=4.x or --node="^4.3.1", resolved to the highest matching
release. The default is last stable version (`latest`). Use `lts` to use
the latest LTS release. Use `system` to use system-wide node.
--prefer-system Use system-wide node if it is found in PATH, otherwise install the version
given by --node.
--mirror MIRROR Set mirror server of nodejs.org to download from.
-j JOBS, --jobs JOBS Sets number of parallel commands at node.js compilation. The default is 2
jobs.
--load-average LOAD_AVERAGE
Sets maximum load average for executing parallel commands at node.js
compilation.
--without-ssl Build node.js without SSL support
--debug Build debug variant of the node.js
--profile Enable profiling for node.js
--make MAKE_PATH, -m MAKE_PATH
Path to make command
--source Install node.js from the source
-v, --verbose Verbose mode
-q, --quiet Quiet mode
-C CONFIG_FILE, --config-file CONFIG_FILE
Load a different file than '~/.nodeenvrc'. Pass an empty string for no
config (use built-in defaults).
-r FILENAME, --requirements FILENAME
Install all the packages listed in the given requirements file globally.
May be given more than once.
--local-requirements FILENAME
Install all the packages listed in the given requirements file locally,
into "node_modules" of the current directory. May be given more than once.
--prompt PROMPT Provides an alternative prompt prefix for this environment
-l, --list Lists available node.js versions
--update Install npm packages from file without node
--with-npm Build without installing npm into the new virtual environment. Required
for node.js < 0.6.3. By default, the npm included with node.js is used.
Under Windows, this defaults to true.
--npm NPM_VER The npm version to use, e.g., --npm=0.3.18 will use the npm-0.3.18.tgz
tarball to install. The default is last available version (`latest`).
--no-npm-clean Skip the npm 0.x cleanup. Cleanup is enabled by default.
--isolate-npm Keep npm cache, userconfig and init-module inside the environment instead
of $HOME. Not supported on Windows.
--python-virtualenv [VENV_DIR], -p [VENV_DIR]
Use the given python virtualenv, or the current one if no directory is
given
--clean-src, -c Remove "src" directory after installation (default)
--no-clean-src Keep "src" directory after installation
--parallel-extract Extract the node.js zip archive on Windows, Cygwin and MSYS 32 files at a
time (default)
--no-parallel-extract
Extract the node.js zip archive one file at a time
--force Force installation in a pre-existing directory
--prebuilt Install node.js from prebuilt package (default)
--ignore_ssl_certs Ignore certificates for package downloads. - UNSAFE -
--with-certifi Use the certifi certificate bundle for package downloads, if certifi is
installed. Ignored with --ignore_ssl_certs.
Options (29)
| Option | Description | Source |
|---|
-h, --help | show this help message and exit | help |
--version | show program's version number and exit | help |
--print-completion SHELL | Print the completion script for SHELL (bash, zsh or fish) and exit. | help |
--prefer-system | Use system-wide node if it is found in PATH, otherwise install the version given by --node. | help |
--mirror MIRROR | Set mirror server of nodejs.org to download from. | help |
-j, --jobs JOBS | Sets number of parallel commands at node.js compilation. | help |
--load-average LOAD_AVERAGE | Sets maximum load average for executing parallel commands at node.js compilation. | help |
--without-ssl | Build node.js without SSL support | help |
--debug | Build debug variant of the node.js | help |
--profile | Enable profiling for node.js | help |
--source | Install node.js from the source | help |
-v, --verbose | Verbose mode | help |
-q, --quiet | Quiet mode | help |
--local-requirements FILENAME | Install all the packages listed in the given requirements file locally, into "node_modules" of the current directory. | help |
--prompt PROMPT | Provides an alternative prompt prefix for this environment | help |
-l, --list | Lists available node.js versions | help |
--update | Install npm packages from file without node | help |
--with-npm | Build without installing npm into the new virtual environment. | help |
--npm NPM_VER | The npm version to use, e.g., --npm=0.3.18 will use the npm-0.3.18.tgz tarball to install. | help |
--no-npm-clean | Skip the npm 0.x cleanup. | help |
--isolate-npm | Keep npm cache, userconfig and init-module inside the environment instead of $HOME. | help |
--clean-src, -c | Remove "src" directory after installation (default) | help |
--no-clean-src | Keep "src" directory after installation | help |
--parallel-extract | Extract the node.js zip archive on Windows, Cygwin and MSYS 32 files at a time (default) | help |
--no-parallel-extract | Extract the node.js zip archive one file at a time | help |
--force | Force installation in a pre-existing directory | help |
--prebuilt | Install node.js from prebuilt package (default) | help |
--ignore_ssl_certs | Ignore certificates for package downloads. | help |
--with-certifi | Use the certifi certificate bundle for package downloads, if certifi is installed. | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.