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

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.
主站蜘蛛池模板: 方城县| 新疆| 海阳市| 毕节市| 射洪县| 徐闻县| 淮北市| 正蓝旗| 县级市| 万安县| 论坛| 洪江市| 黄浦区| 仁寿县| 咸阳市| 铜梁县| 阿拉善盟| 海淀区| 星子县| 凤庆县| 分宜县| 邵武市| 盐源县| 昌江| 扶沟县| 岳阳市| 小金县| 柏乡县| 土默特右旗| 探索| 山阴县| 勃利县| 孝昌县| 安多县| 时尚| 平果县| 黄石市| 安新县| 开阳县| 平原县| 石家庄市|