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

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.
主站蜘蛛池模板: 顺平县| 乐清市| 永顺县| 定远县| 新余市| 甘肃省| 普安县| 呈贡县| 逊克县| 咸丰县| 乌拉特中旗| 永平县| 海安县| 麻栗坡县| 怀来县| 呼玛县| 玉山县| 华坪县| 迭部县| 双流县| 庆阳市| 金坛市| 郧西县| 泸州市| 西昌市| 深水埗区| 库车县| 日喀则市| 临泽县| 阜平县| 苗栗市| 腾冲县| 五华县| 板桥市| 神木县| 惠东县| 邵阳市| 江陵县| 江源县| 同心县| 桂东县|