当前位置:网站首页>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命令行窗口运行程序

边栏推荐
- 11.目标分割
- Trois questions PWN
- Daily question 1: missing numbers
- PHP函数file_get_contents与操作系统的内存映射
- Typescript -- Section 1: basic types
- sql入门
- How does the JVM bottom layer implement synchronized
- Structure of the actual combat battalion | module 5
- Three PWN questions
- Encapsulation of JDBC connection and disconnection database
猜你喜欢

基于.NetCore开发博客项目 StarBlog - (13) 加入友情链接功能

Document management.

mysql 8.0以上报2058 解决方式

Typescript -- Section 5: classes

Matrix compression

12. Détection d'objets Mask rcnn

Program environment and pretreatment

Install MySQL on Windows platform (with Navicat premium 12 "using" tutorial)

Phoenix installation tutorial

Along with the notes: methods simulating array like classes
随机推荐
Typescript -- Section 2: variable declaration
Bug risk level
How to guarantee the delivery quality through the cloud effect test plan
手下两个应届生:一个踏实喜欢加班,一个技术强挑活,怎么选??
websocket-js连接如何携带token验证
请问基金是否靠谱,安全吗
12.物體檢測Mask-Rcnn
[image detection] line recognition based on Hough transform (fitting angle bisector) with matlab code
养老年金险是理财产品吗?预期收益在哪看?
Daily practice: delete duplicates in the ordered array
WPF implementation calls local camera~
转载:VTK笔记-裁剪分割-不规则闭合圈选裁剪-vtkSelectPolyData类(黑山老妖)
HandlerThread使用及原理
Reference materials in the process of using Excel
Redis常用命令手册
pinhole camera model
Typescript -- Section 3: Interface
scp拷贝文件夹
This thing is called a jump watch?
The company has a new Post-00 test paper king. The old oilman said that he could not do it. He has been