series of articles
MySQL installation tutorial (detailed)
link to this article: https://blog.csdn.net/youcheng_ge/article/details/126037520
MySQL uninstall tutorial (detailed)
link to this article: https://blog.csdn.net/youcheng_ge/article/details/129279265
【Inno Setup】Installation package production, project packaging plan
Link to this article: https://blog.csdn.net/youcheng_ge/article/details/123665633
NodeJS installation tutorial (detailed)
link to this article: https://blog.csdn.net/youcheng_ge/article/details/131489778
Article directory
foreword
Node.js is an open source and cross-platform JavaScript runtime environment. It's a popular tool for almost any type of project.
In this article, we will first introduce how to install Node.js on Windows and Linux.
1. Installation preparation
1.1 Official website download
Node.js installation package and source code: https://nodejs.org/en/download
Node.js historical version download: https://nodejs.org/dist/
1.2 Baidu network disk download
2. Installation steps
2.1 Double-click the downloaded installation package
Double-click the downloaded installation package node-v18.16.1-x64.msi
2.2 Welcome page
2.3 Check the option to accept the agreement
Check the option to accept the agreement and click the next button
2.4 Select the installation directory
The default installation directory of Node.js is "C:\Program Files\nodejs", you can modify the directory and click next
2.5 Select the installation mode
Click the tree icon to select the installation mode you need, then click next to enter the next step
2.6 Start the installation
Click Install to start installing Node.js. You can also click Back to modify the previous configuration. Then and click next to enter the next step
2.7 Installation process
2.8 Installation is complete
Click the Finish button to exit the installation wizard
3. Installation inspection
3.1 Check environment variables
Check whether the PATH environment variable is configured with Node.js
or:
CMD input command path
to check nodejs
whether the environment variable is configured
3.2 Check version command
node -v
npm -v
4. Special instructions
4.1 Install Node.js on Linux
Node official website has changed the linux download version to a compiled version, we can directly download and decompress and use:
# wget https://nodejs.org/dist/v10.9.0/node-v10.9.0-linux-x64.tar.xz // 下载
# tar xf node-v10.9.0-linux-x64.tar.xz // 解压
# cd node-v10.9.0-linux-x64/ // 进入解压目录
# ./bin/node -v // 执行node命令 查看版本
v10.9.0
The bin directory of the decompressed file contains commands such as node and npm. We can use the ln command to set soft links
ln -s /usr/software/nodejs/bin/npm /usr/local/bin/
ln -s /usr/software/nodejs/bin/node /usr/local/bin/