Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Steps to install Npm under Mac

Shulou Source: shulou.com Published: 2022-06-02 10:09:49 10月04日 Update

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!

Tags: Steps content learning practical deeper interest practicality practical easy to operate methods more friends websites images channels Tsinghua update query Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Information MySQL vpn MariaDB