2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Node.js is an open source, cross-platform JavaScript runtime environment created by Ryan Dahl in 2009. It allows developers to run JavaScript code on the server side. Node.js is built on the Chrome V8 JavaScript engine and its design goal is to provide a way to build scalable network applications in a non-blocking way.
Event-driven: Node.js uses event loops and callback functions to handle asynchronous events, which makes it very suitable for handling a large number of concurrent connections.
Non-blocking I/O: Node.js's I/O operations are non-blocking, which means that Node.js can continue to execute other code even while waiting for I/O operations to complete.
Single thread: Although Node.js is single-threaded, it can handle multitasking efficiently through event loops and callback functions.
NPM:Node.js has a huge package manager npm, which is the world's largest software registry with more than one million packages.
Cross-platform: Node.js can run on multiple platforms, including Windows, Linux, and macOS.
Suitable for building various types of applications:From web servers to command line tools, Node.js can be used to build various types of applications.
Modularity:Node.js uses the CommonJS module system, allowing developers to easily build and reuse code.
Community Driven: Node.js has an active developer community that continues to drive its development and innovation.
1. Open Node's official website:https://nodejs.org/zh-cn。
2. Click the Download Node.js button, then double-click the MSI package to start the installation.
3. After opening, this is the installation interface, click Next.
4. Check I agree, then click Next.
5. Select the installation path.
6. Click Next.
7. Click Next.
8.install.
9. Installation is complete.
重要的事情三遍!!!
No need to configure the environment, just open CMD and run node -v
Just check the version number of node.
重要的事情三遍!!!
No need to configure the environment, just open CMD and run node -v
Just check the version number of node.
重要的事情三遍!!!
No need to configure the environment, just open CMD and run node -v
Just check the version number of node.
Now that Node.js is installed, let's start using it.