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

边栏推荐
- Go1.18 new feature: discard strings Title Method, a new pit!
- JDBC连接、断开数据库的封装
- 6.28 learning content
- Bug risk level
- How the slip ring motor works
- Summary of software testing cognition
- 运营级智慧校园系统源码 智慧校园小程序源码+电子班牌+人脸识别系统
- [communication] wide band source DOA estimation method based on incoherent signal subspace (ISM)
- 如果你会玩这4个自媒体运营工具,副业收入6000+很轻松
- Reprint: VTK notes - clipping and segmentation - 3D curve or geometric cutting volume data (black mountain old demon)
猜你喜欢

Haskell configuring vs code development environment (june2022)

Typescript -- Section 3: Interface

Xiaobai's e-commerce business is very important to choose the right mall system!

Trois questions PWN

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

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

Install MySQL on Windows platform (with Navicat premium 12 "using" tutorial)
![[leetcode] 522. Longest special sequence II violence + double pointer](/img/88/3ddeefaab7e29b8eeb412bb5c3e9b8.png)
[leetcode] 522. Longest special sequence II violence + double pointer

HandlerThread使用及原理

This thing is called a jump watch?
随机推荐
12. object detection mask RCNN
[200 opencv routines] 101 adaptive median filter
每日一题:数组中数字出现的次数2
Analysis of basic structure and working principle of slip ring
[communication] wide band source DOA estimation method based on incoherent signal subspace (ISM)
MySQL high availability dual master synchronization
请问基金是否靠谱,安全吗
Is pension insurance a financial product? Where is the expected return?
[image detection] recognition of the front and back of a coin based on texture features with matlab code attached
6.28 学习内容
三個pwn題
Typescript -- Section 7 enumeration
Reprint: VTK notes - clipping and segmentation - 3D curve or geometric cutting volume data (black mountain old demon)
搭建单机 nacos 负载均衡ribbon 轮询策略 权重2种方式
MySQL 8.0 above reporting 2058 solution
请问同花顺上开户安全吗
12. Détection d'objets Mask rcnn
Two fresh students: one is practical and likes to work overtime, and the other is skilled. How to choose??
畢業三年的25歲碼農總結
Click hijack: X-FRAME-OPTIONS is not configured