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

Installing Node.js on macOS

Next, let's install Node.js and NPM using the following steps. You can find the necessary installation packages by navigating to https://nodejs.org:

Note that Node.js typically comes in two flavors: the Long-Term Support ( LTS) version, which is suitable for most users, and the Current version, which provides the most cutting-edge features and enhancements.
  1. First, we need to download and install Node.js. The website automatically detects your browser and platform and suggests the appropriate packages for you to download. For macOS, you are going to see the Download for macOS (x64) label and two big download buttons, as shown in the following screenshot:
  1. Choose any version and click the corresponding button to get the relevant installer package. The installation process for the macOS platform is pretty straightforward. Keep all the default settings; proceed with the wizard's steps until the setup is over.
  2. In the Terminal application, run the following commands to verify that you have Node.js and NPM installed on your machine:
      node -v
npm -v
  1. The system's output should be similar to the following, though their versions may vary:
      v12.13.0
6.12.1

Congratulations! You've successfully installed Node.js on your macOS.

主站蜘蛛池模板: 屏南县| 嘉荫县| 喀喇沁旗| 潞西市| 扶余县| 宜州市| 平遥县| 通辽市| 西青区| 邵阳市| 多伦县| 怀远县| 三原县| 昌图县| 沭阳县| 云梦县| 恩施市| 上杭县| 张家口市| 嘉祥县| 太谷县| 临邑县| 尖扎县| 灵山县| 门头沟区| 兴宁市| 庆城县| 杨浦区| 上杭县| 湘潭县| 永德县| 抚顺市| 九龙县| 吉安县| 舒城县| 贺兰县| 南昌市| 丰都县| 岳普湖县| 香格里拉县| 电白县|