Home >Web Front-end >JS Tutorial >How to install nodejs on mac

How to install nodejs on mac

藏色散人
藏色散人Original
2021-09-03 14:39:575756browse

How to install nodejs on mac: 1. Download the pkg installation package from the official download website and click to install directly; 2. Use the "brew install node" command to install it.

How to install nodejs on mac

The operating environment of this article: macOS10.15 system, nodejs version 10.16.2, MacBook Air 2019 computer.

How to install nodejs on mac?

Installation method on Mac OS:

You can use the following two methods to install nodejs on Mac Install node on the OS:

1. Download the pkg installation package from the official download website and click to install directly.

Official address:

https://nodejs.org/en/download/

2. Use brew command to install:

brew install node

[Recommended learning: nodejs video tutorial]

The above is the detailed content of How to install nodejs on mac. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:nodejs how to encryptNext article:nodejs how to encrypt