Difference between revisions of "Nvm use"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  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]]
  
  
Line 13: Line 20:
  
 
== Related ==
 
== Related ==
[[nvm alias default 14]]
+
* <code>[[nvm alias default 14]]</code>
  
 
== See also ==
 
== See also ==

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: