数学講師2852771 views
中学英語808712 views
英語607877 views
LaTeX957300 views
Computer365120 views
教育148875 views
りんご192546 views
高校日本史189857 views
中学数学621382 views
小学社会308636 views
Help
Tools

English

a

export NVM_DIR=“HOME/.nvm" [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" alice@mac ~ % brew install nvm ==> Downloading https://formulae.brew.sh/api/formula.jws.json ==> Downloading https://formulae.brew.sh/api/cask.jws.json ==> Downloading https://ghcr.io/v2/homebrew/core/nvm/manifests/0.40.1 ######################################################################### 100.0% ==> Fetching nvm ==> Downloading https://ghcr.io/v2/homebrew/core/nvm/blobs/sha256:7579c8f8fcf63b ######################################################################### 100.0% ==> Pouring nvm--0.40.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 your shell profile e.g. ~/.profile or ~/.zshrc: 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/Cellar/nvm/0.40.1 will destroy any nvm-installed Node installations
upon upgrade/reinstall.

Type nvm help for further information.
==> Summary
🍺 /opt/homebrew/Cellar/nvm/0.40.1: 10 files, 203.0KB
==> Running brew cleanup nvm