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

边栏推荐
- 这玩意叫跳表?
- 大智慧上开户是安全的吗
- Pinhole camera with added lens
- 【LeetCode】21. Merge two ordered linked lists - go language solution
- [communication] wide band source DOA estimation method based on incoherent signal subspace (ISM)
- 小白创业做电商,选对商城系统很重要!
- With notes: re understanding else if
- Reprint: VTK notes - clipping and segmentation - irregular closed loop clipping -vtkselectpolydata class (black mountain old demon)
- 12.物體檢測Mask-Rcnn
- Typescript -- Section 6 generic
猜你喜欢

Program environment and pretreatment

Easy to use free ppt template

Daily question 1: the number of numbers in the array

Comics | goodbye, postman! One stop collaboration makes apipost more fragrant!

This thing is called a jump watch?

Redis常用命令手册

转载:VTK笔记-裁剪分割-三维曲线或几何切割体数据(黑山老妖)

How the slip ring motor works
![[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter](/img/7b/f9cea5dfe6831f5f226b907e2095eb.jpg)
[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter

光纤滑环价格过高的原因
随机推荐
Haskell configuring vs code development environment (june2022)
Test experience: how testers evolve from 0 to 1
Leetcode 178 Score ranking (June 27, 2022)
[communication] wide band source DOA estimation method based on incoherent signal subspace (ISM)
Es6:let, const, arrow functions
How does the JVM bottom layer implement synchronized
大智慧上开户是安全的吗
每日一题:移除元素
SCP copy folder
Install MySQL on Windows platform (with Navicat premium 12 "using" tutorial)
Comparison between winding process and lamination process
Haskell 配置 VS code 开发环境 (2022年6月)
毕业三年的25岁码农总结
Introduction to four MySQL engines
Is the fund reliable and safe
Remove HTML tags from Oracle
10、YOLO系列
scp拷贝文件夹
Leetcode daily question: implementing strstr()
LinkedIn DataHub --- 经验分享