Skip to content
Myr

[Docs] Update README for environment variables

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Bruce A. MacNaughton · committed by Jordan Harband · parent 91a55dd · Browse files · 1 file+14 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−0 removed

  • other:+14 added−0 removed

1 file+14 added−0 removed

modified:README.md+14 added
33 unmodified lines
34 - [fish](#fish)35 - [Calling `nvm use` automatically in a directory with a `.nvmrc` file](#calling-nvm-use-automatically-in-a-directory-with-a-nvmrc-file-1)36- [License](#license)37- [Running Tests](#running-tests)38- [Environment variables](#environment-variables)39- [Bash Completion](#bash-completion)40 - [Usage](#usage-1)41- [Compatibility Issues](#compatibility-issues)42- [Installing nvm on Alpine Linux](#installing-nvm-on-alpine-linux)
570 unmodified lines
613 npm test614615Nota bene: Avoid running nvm while the tests are running.616617## Environment variables618619nvm exposes the following environment variables:620621- `NVM_DIR` - nvm's installation directory.622- `NVM_BIN` - where node, npm, and global packages for the active version of node are installed.623- `NVM_INC` - node's include file directory (useful for building C/C++ addons for node).624- `NVM_CD_FLAGS` - used to maintain compatibility with zsh.625- `NVM_RC_VERSION` - version from .nvmrc file if being used.626627Additionally, nvm modifies `PATH`, and, if present, `MANPATH` and `NODE_PATH` when changing versions.628629630## Bash Completion631632To activate, you need to source `bash_completion`:633
172 unmodified lines