Bootstrap

Win10 Vue 环境搭建以及项目初始化

1. Node 下载和安装

进入 Node 官网 :https://nodejs.org/en/download/ 选择合适的版本下载。
在这里插入图片描述

直接点击msi 文件安装,一路 Next 即可,注意安装路径。可选择默认路径 C:\Program Files\nodejs .
在这里插入图片描述

Automatically install the necessary tools. Note that this will also install Chocolatey. The script will pop-up in a new window after the inatallation completes. 可勾选,自动下载所需的工具。在这里插入图片描述

1.1 安装验证

安装成功,自动弹出如下 CMD 窗口
在这里插入图片描述

打开自带的 PowerShellCMD, 输入 node -vnpm -v , 显示相应的版本,表示已安装成功,安装完 node 后,npm 也会beu Node 下载和安装
进入 Node 官网 :https://nodejs.org/en/download/ 选择合适的版本下载。在这里插入图片描述直接点击msi 文件安装,一路 Next 即可,注意安装路径。可选择默认路径 C:\Program Files\nodejs .在这里插入图片描述Automatically install the necessary tools. Note that this will also install Chocolatey. The script will pop-up in a new window after the inatallation completes. 可勾选,自动下载所需的工具。在这里插入图片描述安装验证安装成功,自动弹出如下 CMD 窗口在这里插入图片描述打开自带的 PowerShellCMD, 输入 node -vnpm -v , 显示相应的版本,表示已安装成功,安装完 node 后,npm 也会被自动安装,不再需要独立安装。在这里插入图片描述

通过npm config ls 查看 npm 配置信息

PS C:\Windows\system32> npm config ls
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.14.11 node/v14.16.0 win32 x64"

; 
;