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

边栏推荐
猜你喜欢

The magical zero knowledge proof can not only keep secrets, but also make others believe you!

Reprint: VTK notes - clipping and segmentation - 3D curve or geometric cutting volume data (black mountain old demon)

Typescript -- Section 1: basic types
![[communication] wide band source DOA estimation method based on incoherent signal subspace (ISM)](/img/5d/bee9a6e50384a7e05e9a71e9fbed9a.jpg)
[communication] wide band source DOA estimation method based on incoherent signal subspace (ISM)

Précautions d'installation et d'utilisation des joints rotatifs

每日一题:消失的数字

Comparison between winding process and lamination process

MSYQL is abnormal. Don't worry. Mr. Allen will point out the puzzle

由背景图缓存导致的canvas绘图跨域问题

卷绕工艺与叠片工艺的对比
随机推荐
Typescript -- Section 7 enumeration
Basic use of Chrome browser
The magical zero knowledge proof can not only keep secrets, but also make others believe you!
Typescript -- Section 2: variable declaration
Summary of software testing cognition
Structure of the actual combat battalion | module 5
[image detection] recognition of the front and back of a coin based on texture features with matlab code attached
剑指 Offer 12. 矩阵中的路径
Encapsulation of JDBC connection and disconnection database
Three PWN questions
Accessories and working process of machine vision system
转载:VTK笔记-裁剪分割-三维曲线或几何切割体数据(黑山老妖)
mysql 8.0以上报2058 解决方式
[image registration] improved SAR image registration based on sar-sift with matlab code
Introduction to four MySQL engines
Comparison between winding process and lamination process
MySQL high availability dual master synchronization
MapReduce案例
Matrix compression
This thing is called a jump watch?