Browse Source

[Docs] README.md: mention --no-colors option

Christopher Sahnwaldt 6 years ago committed by Jordan Harband
parent
commit
930507dbbc
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
  1. 10
      README.md

10
README.md

@ -19,6 +19,7 @@ @@ -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: @@ -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

Loading…
Cancel
Save