构建微服务开发环境5————安装Node.js

时间:2023-11-27 20:36:08

【内容指引】
下载Node.js;
Mac下安装Node.js;
Windows下安装Node.js;
查看node和npm的版本。

一、下载Node.js

访问Node.js官网:https://nodejs.org/en/download/

构建微服务开发环境5————安装Node.js

二、Mac下安装Node.js

1.傻瓜啥安装,看图:

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

2.安装完后查看node版本,打开终端,输入

node -v

构建微服务开发环境5————安装Node.js

3.查看npm的版本,输入

npm -v

构建微服务开发环境5————安装Node.js

看到以上版本号,代表安装成功。

三、Windows下安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

构建微服务开发环境5————安装Node.js

查看node版本:

node -v

查看npm版本:

npm -v

构建微服务开发环境5————安装Node.js