Node.js is a JavaScript running environment built on the Chrome V8 engine, which can realize fast server-side application and script running. With Node.js being widely used in server-side development, many developers will want to know how to install Node.js. This article will introduce the default installation method of Node.js.
Node.js supports multiple operating system platforms, such as Windows, Mac OS X, Linux, BSD, etc. However, this article will mainly introduce the installation of Node.js on Windows.
First, you need to enter the official website of Node.js https://nodejs.org/, and then click the "Download" button. The official website of Node.js provides download links for the latest version and the LTS version. The LTS version refers to the long-term support version and is more stable than the latest version. Therefore, developers are recommended to choose the LTS version.
Next, you need to select the corresponding operating system version. If it is a Windows operating system, please select Windows Installer. Then double-click the downloaded installation package to install it. During the installation process, you need to pay attention to the following points:
In summary, installing Node.js is very simple. You only need to download the corresponding version of the installation package and install it according to the prompts. During the installation process, you need to pay attention to adding PATH and component selection. I hope this article can help you when installing Node.js.
The above is the detailed content of nodejs installed by default. For more information, please follow other related articles on the PHP Chinese website!