diff --git a/README.md b/README.md index a9fc2b8..51963ec 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ - [io.js](#iojs) - [System version of node](#system-version-of-node) - [Listing versions](#listing-versions) + - [Suppressing colorized output](#suppressing-colorized-output) - [.nvmrc](#nvmrc) - [Deeper Shell Integration](#deeper-shell-integration) - [bash](#bash) @@ -339,6 +340,15 @@ If you want to see what versions are available to install: nvm ls-remote ``` +#### Suppressing colorized output + +`nvm ls`, `nvm ls-remote` and `nvm alias` usually produce colorized output. You can disable colors with the `--no-colors` option (or by setting the environment variable `TERM=dumb`): + +```sh +nvm ls --no-colors +TERM=dumb nvm ls +``` + To restore your PATH, you can deactivate it: ```sh