- 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.
- 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:

- 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.
- 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
- 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.
推薦閱讀
- Fundamentals of Linux
- Mastering AWS Lambda
- SQL for Data Analytics
- Python 3破冰人工智能:從入門到實戰(zhàn)
- Mastering AndEngine Game Development
- R的極客理想:工具篇
- 重學Java設(shè)計模式
- Illustrator CC平面設(shè)計實戰(zhàn)從入門到精通(視頻自學全彩版)
- Python自然語言理解:自然語言理解系統(tǒng)開發(fā)與應(yīng)用實戰(zhàn)
- 零基礎(chǔ)學C語言(第4版)
- PhoneGap 4 Mobile Application Development Cookbook
- Learning GraphQL and Relay
- Python自動化運維:技術(shù)與最佳實踐
- 前端Serverless:面向全棧的無服務(wù)器架構(gòu)實戰(zhàn)
- Drools 8規(guī)則引擎:核心技術(shù)與實踐