nodeenv - Man Page

manual page for nodeenv 1.8.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_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. The default is last stable version (`latest`). Use `lts` to use the latest LTS release. Use `system` to use system-wide 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.

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

--python-virtualenv,  -p

Use current python virtualenv

--clean-src,  -c

Remove "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 -

Info

January 2024 nodeenv 1.8.0