nvm use

From wikieduonline
Jump to navigation Jump to search

nvm use 14
Now using node v14.19.3 (npm v6.14.17)
nvm use 18
N/A: version "v18" is not yet installed.

You need to run `nvm install 18` to install and use it.

Solution: nvm install 18


 nvm use [<version>]                         Modify PATH to use <version>. Uses .nvmrc if available and version is omitted.
  The following optional arguments, if provided, must appear directly after `nvm use`:
   --silent                                  Silences stdout/stderr output
   --lts                                     Uses automatic LTS (long-term support) alias `lts/*`, if available.
   --lts=<LTS name>                          Uses automatic alias for provided LTS line, if available.


Related[edit]

See also[edit]

Advertising: