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

  • Electron Projects
  • Denys Vuika
  • 192字
  • 2021-06-24 12:14:32

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.

主站蜘蛛池模板: 柘城县| 兴山县| 个旧市| 东平县| 德惠市| 和林格尔县| 福建省| 远安县| 启东市| 永修县| 忻州市| 青河县| 若尔盖县| 嘉峪关市| 新密市| 昌图县| 富民县| 遂昌县| 郴州市| 会东县| 东乡| 南昌县| 宁德市| 盘山县| 江口县| 深州市| 炉霍县| 大足县| 巫山县| 永州市| 马鞍山市| 香格里拉县| 龙里县| 饶阳县| 台东市| 崇文区| 瓦房店市| 韶山市| 西盟| 搜索| 澜沧|