Difference between revisions of "Nvm install node"
Jump to navigation
Jump to search
(6 intermediate revisions by 4 users not shown) | |||
Line 10: | Line 10: | ||
− | [[export]] NVM_DIR="$HOME/.nvm" | + | |
+ | Now using node v20.4.0 (npm v9.7.2) | ||
+ | Creating default alias: default -> node (-> v20.4.0) | ||
+ | |||
+ | [[export]] NVM_DIR="[[$HOME/.nvm]]" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | ||
== Related == | == Related == | ||
− | + | <code>[[npm install --global yarn]]</code> | |
+ | |||
+ | <code>[[/usr/bin/env: ‘node’: No such file or directory]]</code> | ||
+ | |||
+ | [[nvm use]] | ||
+ | [[node --version]] | ||
== See also == | == See also == | ||
+ | * {{nvm install}} | ||
* {{nvm}} | * {{nvm}} | ||
[[Category:NVM]] | [[Category:NVM]] |
Latest revision as of 07:27, 13 July 2023
nvm install node Downloading and installing node v18.7.0... Downloading https://nodejs.org/dist/v18.7.0/node-v18.7.0-linux- arm64.tar.xz... ################################################################################################################################### 100.0% Computing checksum with sha256sum Checksums matched! Now using node v18.7.0 (npm v8.15.0) Creating default alias: default -> node (-> v18.7.0)
Now using node v20.4.0 (npm v9.7.2) Creating default alias: default -> node (-> v20.4.0)
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"
Related[edit]
/usr/bin/env: ‘node’: No such file or directory
nvm use node --version
See also[edit]
nvm install
- nvm:
nvm
[install | use | run | ls | ls-remote | alias ], .nvmrc, node --version, nvm alias default, brew install nvm, --help ]
Advertising: