From 25d2ebf2f8acbdcd6ff7d2b1eddd699a21ae6708 Mon Sep 17 00:00:00 2001 From: Sladyn Nunes Date: Wed, 3 Mar 2021 20:47:44 +0530 Subject: [PATCH] [readme] add headings to certain sections Fixes #2413. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 5d45ea8527..a50bf32a07 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ - [Setting Custom Colors](#setting-custom-colors) - [Persisting custom colors](#persisting-custom-colors) - [Suppressing colorized output](#suppressing-colorized-output) + - [Restoring PATH](#restoring-path) + - [Set default node version](#set-default-node-version) + - [Use a mirror of node binaries](#use-a-mirror-of-node-binaries) - [.nvmrc](#nvmrc) - [Deeper Shell Integration](#deeper-shell-integration) - [bash](#bash) @@ -440,18 +443,21 @@ nvm help --no-colors TERM=dumb nvm ls ``` +#### Restoring PATH To restore your PATH, you can deactivate it: ```sh nvm deactivate ``` +#### Set default node version To set a default Node version to be used in any new shell, use the alias 'default': ```sh nvm alias default node ``` +#### Use a mirror of node binaries To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`: ```sh