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

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.

主站蜘蛛池模板: 天津市| 巴东县| 嘉义县| 新昌县| 安宁市| 赞皇县| 永新县| 通江县| 清原| 秭归县| 蓝田县| 崇信县| 壶关县| 汪清县| 石城县| 庐江县| 内黄县| 江西省| 威海市| 鄂托克前旗| 汪清县| 海林市| 定州市| 石柱| 嵩明县| 含山县| 景谷| 高邑县| 城固县| 苍梧县| 缙云县| 汾西县| 车险| 揭西县| 偏关县| 永定县| 那坡县| 隆化县| 巴彦淖尔市| 濮阳市| 和静县|