Difference between revisions of "Nvm use"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  [[nvm]] use 14
 
  [[nvm]] use 14
 
  Now using node v14.19.3 (npm v6.14.17)
 
  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]]
  
  

Latest revision as of 09:58, 30 June 2023

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: