Web前端开发必备软件安装一览表
安装清单:
- Java JDK
- Nodejs / npm
- Git
- Yarn
- MS Vs code
- apache-maven mvn
JDK安装配置环境变量:
下载:
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
并解压到非中文的目录
JAVA_HOME=D:\Java\Java\jdk1.6.0_24 CLASSPATH=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar PATH=.;%JAVA_HOME%\bin
测试:cmd输入 java --version / java / javac
java 11 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
Nodejs/npm安装及环境变量:
下载:https://nodejs.org/en/download/current/
MSI的直接安装,.zip文件解压到非中文文件夹
PATH=D:\Tools\node-v10.12.0-win-x64
测试:cmd输入 node -v / npm -v
v10.12.0 6.4.1
Git安装及环境变量配置:
下载:https://git-scm.com/downloads
安装好会自动配置环境变量
PATH=D:\Tools\Git\cmd
测试:cmd输入 git --version
git version 2.19.1.windows.1
配置初始化值:
$ git config --global user.name "John Doe" $ git config --global user.email [email protected]
Yarn安装及环境变量配置:
下载:https://yarnpkg.com/zh-Hans/docs/install#windows-stable
安装好会自动配置环境变量,或者手动安装
npm install -g yarn
测试:cmd输入 yarn -v
1.10.1
Ms vs code安装及环境变量配置:
下载:https://code.visualstudio.com/download
安装好即可打开代码文件夹
Maven安装及环境变量配置:
下载:https://mirrors.tuna.tsinghua.edu.cn/apache/maven/binaries/
解压到非中文文件夹并配置环境变量
PATH=D:\Tools\apache-maven-3.5.4\bin
测试:cmd输入 mvn -v
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T02:33:14+08:00)
Maven home: D:\Tools\apache-maven-3.5.4\bin\..
Java version: 11, vendor: Oracle Corporation, runtime: D:\Tools\jdk-11
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"