Difference between revisions of "Brew install nvm"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
[[brew install]] [[nvm]] | [[brew install]] [[nvm]] | ||
+ | <pre> | ||
+ | Running `brew update --auto-update`... | ||
+ | ==> Auto-updated Homebrew! | ||
+ | Updated 4 taps (weaveworks/tap, homebrew/core, homebrew/cask and homebrew/services). | ||
+ | ==> New Formulae | ||
+ | astro flock markdown-toc mcap phrase-cli swtpm | ||
+ | |||
+ | You have 17 outdated formulae and 1 outdated cask installed. | ||
+ | You can upgrade them with brew upgrade | ||
+ | or list them with brew outdated. | ||
+ | |||
+ | ==> Downloading https://ghcr.io/v2/homebrew/core/nvm/manifests/0.39.1_1 | ||
+ | ######################################################################## 100.0% | ||
+ | ==> Downloading https://ghcr.io/v2/homebrew/core/nvm/blobs/sha256:6e14c8a2bf94212545c1ebac9a722df168c318d0e8af2fc75b729a07fea54efe | ||
+ | ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6e14c8a2bf94212545c1ebac9a722df168c318d0e8af2 | ||
+ | ######################################################################## 100.0% | ||
+ | ==> Pouring nvm--0.39.1_1.all.bottle.tar.gz | ||
+ | ==> Caveats | ||
+ | Please note that upstream has asked us to make explicit managing | ||
+ | nvm via Homebrew is unsupported by them and you should check any | ||
+ | problems against the standard nvm install method prior to reporting. | ||
+ | |||
+ | You should create NVM's working directory if it doesn't exist: | ||
+ | |||
+ | mkdir ~/.nvm | ||
+ | |||
+ | Add the following to ~/.zshrc or your desired shell | ||
+ | configuration file: | ||
+ | |||
+ | export NVM_DIR="$HOME/.nvm" | ||
+ | [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm | ||
+ | [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion | ||
+ | |||
+ | You can set $NVM_DIR to any location, but leaving it unchanged from | ||
+ | /opt/homebrew/opt/nvm will destroy any nvm-installed Node installations | ||
+ | upon upgrade/reinstall. | ||
+ | |||
+ | Type `nvm help` for further information. | ||
+ | ==> Summary | ||
+ | 🍺 /opt/homebrew/Cellar/nvm/0.39.1_1: 9 files, 184.1KB | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * <code>[[nvm install 14]]</code> | ||
== See also == | == See also == |
Latest revision as of 08:49, 20 June 2022
brew install nvm
Running `brew update --auto-update`... ==> Auto-updated Homebrew! Updated 4 taps (weaveworks/tap, homebrew/core, homebrew/cask and homebrew/services). ==> New Formulae astro flock markdown-toc mcap phrase-cli swtpm You have 17 outdated formulae and 1 outdated cask installed. You can upgrade them with brew upgrade or list them with brew outdated. ==> Downloading https://ghcr.io/v2/homebrew/core/nvm/manifests/0.39.1_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nvm/blobs/sha256:6e14c8a2bf94212545c1ebac9a722df168c318d0e8af2fc75b729a07fea54efe ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6e14c8a2bf94212545c1ebac9a722df168c318d0e8af2 ######################################################################## 100.0% ==> Pouring nvm--0.39.1_1.all.bottle.tar.gz ==> Caveats Please note that upstream has asked us to make explicit managing nvm via Homebrew is unsupported by them and you should check any problems against the standard nvm install method prior to reporting. You should create NVM's working directory if it doesn't exist: mkdir ~/.nvm Add the following to ~/.zshrc or your desired shell configuration file: export NVM_DIR="$HOME/.nvm" [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion You can set $NVM_DIR to any location, but leaving it unchanged from /opt/homebrew/opt/nvm will destroy any nvm-installed Node installations upon upgrade/reinstall. Type `nvm help` for further information. ==> Summary 🍺 /opt/homebrew/Cellar/nvm/0.39.1_1: 9 files, 184.1KB
Related[edit]
See also[edit]
- nvm:
nvm
[install | use | run | ls | ls-remote | alias ], .nvmrc, node --version, nvm alias default, brew install nvm, --help ]
Advertising: