Difference between revisions of "Nvm"
Jump to navigation
Jump to search
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:nvm]] Node Version Manager | + | {{lowercase}} |
+ | [[wikipedia:nvm]] Node Version Manager (nvm) is a version manager for [[Node.js]] | ||
+ | * https://github.com/nvm-sh/nvm | ||
− | [[ | + | == Installation == |
+ | * macOS: <code>[[brew install nvm]]</code> | ||
+ | * Ubuntu: | ||
+ | sudo apt install curl | ||
+ | [[curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh]] | bash | ||
+ | [[nvm install node]] | ||
− | |||
− | [[nvm --help]] | + | export NVM_DIR="$HOME/.nvm" |
− | + | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
+ | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | ||
+ | |||
+ | == Commands == | ||
+ | * <code>[[nvm install 14]]</code> | ||
+ | * <code>[[nvm use 18]]</code> | ||
+ | * <code>[[nvm use 14]]</code> | ||
+ | * <code>[[nvm --help]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * Never Mind (nvm) | ||
+ | * <code>[[npm]]</code> | ||
+ | |||
== See also == | == See also == | ||
* {{nvm}} | * {{nvm}} | ||
* {{Node.js}} | * {{Node.js}} | ||
− | [[Category: | + | [[Category:NVM]] |
Latest revision as of 10:28, 5 July 2023
wikipedia:nvm Node Version Manager (nvm) is a version manager for Node.js
Contents
Installation[edit]
- macOS:
brew install nvm
- Ubuntu:
sudo apt install curl curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash nvm install node
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Commands[edit]
Related[edit]
- Never Mind (nvm)
npm
See also[edit]
- nvm:
nvm
[install | use | run | ls | ls-remote | alias ], .nvmrc, node --version, nvm alias default, brew install nvm, --help ]
- Node.js, JavaScript runtime, Deno, nock, next.js, express.js, electron, Nest.js, nvm,
package.json
, Webpack,node -r
,npm, nvm, node-gyp
, Node.js modules, Fastify, PM2, UnhandledPromiseRejectionWarning, node-inspector, Puppeteer, Node-config, Node-RED
Advertising: