nodeenv - Man Page

manual page for nodeenv 1.11.0

Description

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

-n,  --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

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,  -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

Load a different file than '~/.nodeenvrc'. Pass an empty string for no config (use built-in defaults).

-r,  --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,  -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

--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.

Info

October 2026 nodeenv 1.11.0