From 930507dbbc590d39fc0e6de67c555d4f13c2fc10 Mon Sep 17 00:00:00 2001 From: Christopher Sahnwaldt Date: Sat, 23 Feb 2019 09:53:56 +0100 Subject: [PATCH] [Docs] README.md: mention --no-colors option --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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