Steps to install Npm under Mac
This article mainly explains "the steps of installing Npm under Mac". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the steps of installing Npm under Mac.
Brew update
Brew updatebrew doctor
Install node
Brew link nodebrew uninstall nodebrew install node
Slow homebrew mirroring
# replace with Tsinghua Source git-C "$(brew-- repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.gitgit-C "$(brew-- repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.gitgit-C "$(brew-- repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/ Git/homebrew/homebrew-cask.gitbrew update# restore git-C "$(brew--repo)" remote set-url origin https://github.com/Homebrew/brew.gitgit-C "$(brew--repo homebrew/core)" remote set-url origin https://github.com/Homebrew/homebrew-core.gitgit-C "$(brew--repo homebrew/cask)" remote set-url origin https://github.com/Homebrew/homebrew-cask.gitbrew update
At this point, I believe you have a deeper understanding of the "steps to install Npm under Mac". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!