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

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.
主站蜘蛛池模板: 宁德市| 忻城县| 湖南省| 惠水县| 汉沽区| 祁东县| 安顺市| 弥渡县| 清河县| 南川市| 台中市| 隆德县| 融水| 涿州市| 边坝县| 永登县| 宜川县| 北海市| 苏尼特右旗| 长乐市| 黎城县| 乐山市| 深州市| 松潘县| 镇远县| 武夷山市| 旅游| 宜都市| 玉田县| 竹山县| 武威市| 郯城县| 酒泉市| 樟树市| 宝鸡市| 孝义市| 曲沃县| 东台市| 安丘市| 保德县| 曲阜市|