官术网_书友最值得收藏!

Mac OS X

There is a universal installer available from the Node website specifically for OS X.

We need to follow these steps to install Node.js on a Mac:

  1. Visit the download page of the Node.js official website as mentioned earlier and click on the Mac OS X installer, which is independent of the processor type (32 or 64-bit).
  2. Once the download is complete, double-click on the .pkg file, which will launch the Node installer.
  3. Proceed through each step of the wizard, which should be fairly self-explanatory.
Also, if you have any of the OS X package managers installed, then you don't need to manually download the installer.

You may install Node.js via the respective package manager.

  • Installation using Homebrew:
    brew install node
  • Installation using Mac ports:
    port install nodejs
The installation of Node.js via either an installer or via the package managers will include npm alongside. So, we don't need to install it separately.
主站蜘蛛池模板: 宿迁市| 忻城县| 牟定县| 三穗县| 紫阳县| 乐昌市| 家居| 波密县| 鄢陵县| 苏尼特右旗| 监利县| 鄢陵县| 页游| 淮滨县| 阳泉市| 邓州市| 南投县| 扬州市| 黄陵县| 大庆市| 兴业县| 潮安县| 永昌县| 兴城市| 章丘市| 都匀市| 仁寿县| 轮台县| 方正县| 苍溪县| 教育| 开鲁县| 枝江市| 新建县| 三明市| 江西省| 阿鲁科尔沁旗| 威海市| 宝鸡市| 太白县| 潍坊市|