当前位置:网站首页>Nodejs安装和下载
Nodejs安装和下载
2022-06-29 00:28:00 【Keep_Trying_Go】
1.下载地址
https://nodejs.org/download/release/v14.19.3/
2.Nodejs安装方式
Windows平台上提供了两种安装方式
(1)一种是.MSI安装文件;
(2)一种是.exe可执行文件;
我选择的是.exe文件安装方式
3.环境配置过程(配置完成即可)
(1)配置node.exe文件的环境变量
右击“此电脑”的“属性”->高级系统设置->环境变量->系统变量->path->点击编辑->新建:
将node.exe文件的路径复制到新建的选项中即可。
(2)配置npm路径
由于在下载安装包的时候,就已经包含了npm文件,所以直接配置路径即可。这里也是配置系统变量,和上面的一样。(看下面)


4.进行测试是否配置成功
(1)首先测试安装版本

(2)代码测试
使用官网提供的代码进行测试https://nodejs.org/en/about/
关于下面这段代码具体是什么意思,暂时不需要关心,只需要检测当前node.js环境是否配置成功即可。
将代码复制到自己新建的一个文件中(.js)
在当前文件下打开cmd命令行窗口运行程序

边栏推荐
- 利用verilogA模块采样
- How to carry token authentication in websocket JS connection
- SCP copy folder
- Es6:let, const, arrow functions
- Common mistakes in software testing
- Leetcode daily question: implementing strstr()
- 好用免费的PPT模板
- 架构实战营|模块5
- Click hijack: X-FRAME-OPTIONS is not configured
- Reprint: VTK notes - clipping and segmentation - irregular closed loop clipping -vtkselectpolydata class (black mountain old demon)
猜你喜欢

6.28 学习内容

How to guarantee the delivery quality through the cloud effect test plan
![[image registration] improved SAR image registration based on sar-sift with matlab code](/img/69/4e78c6cef45b2e4d133222a4372e43.jpg)
[image registration] improved SAR image registration based on sar-sift with matlab code

Realization of beauty system with MATLAB

Software testing tools: complete and precise

Reference materials in the process of using Excel

Daily question 1: remove elements
![[gym 102423]-elven efficiency | thinking](/img/cf/b65f3db1580a83478f8351cea22040.png)
[gym 102423]-elven efficiency | thinking

Typescript-- section 4: Functions

每日一题:数组中数字出现的次数2
随机推荐
MNIST handwritten numeral recognition demo based on pytorch framework
每日一题:数组中数字出现的次数2
Precautions for installation and use of rotary joint
Two ways to set up a single Nacos load balancing ribbon polling policy weight
[buuctf.reverse] 131-135
Excel使用过程中的参考资料
pinhole camera model
[image registration] improved SAR image registration based on sar-sift with matlab code
Reading notes of English grammar new thinking Basic Edition 2 (I)
Typescript -- Section 1: basic types
剑指 Offer 12. 矩阵中的路径
MapReduce case
websocket-js连接如何携带token验证
Introduction to four MySQL engines
Two fresh students: one is practical and likes to work overtime, and the other is skilled. How to choose??
LinkedIn datahub - experience sharing
如果你会玩这4个自媒体运营工具,副业收入6000+很轻松
6.28 learning content
滑环的基本结构及工作原理分析
[200 opencv routines] 101 adaptive median filter