三分手艺,七分家伙
前端都需要安装那些工具呢?
我并不是从新电脑开始一点点整理的所以遗漏了很多,大家可以留言来补充。
- VSCode 官网:https://code.visualstudio.com/
- Sublime3/Atom/WebStorm
- Chrome 官网:https://www.google.cn/intl/zh-CN/chrome/
- Git 官网下载地址:https://www.git-scm.com/download/
- Charles(mac)Fiddler (win)
- Photoshop
# brew (mac中的包管理工具)(官网:https://brew.sh/index_zh-cn.html)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# git
brew install git
# nvm (node管理工具)(选装)(安装完了还需要配置环境,参照GitHub)
# github:https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# node (也可以去官网下载安装、mac还可以使用brew安装)(官网:https://nodejs.org/)
nvm install stable # 安装最新版
nvm install --lts # 安装长期支持版
brew install node # (mac)也可以使用这个命令安装
# cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
# npm config set registry https://registry.npm.taobao.org
# yarn (mac,win自己去官网查)
brew install yarn
# live-server
npm install -g live-server
# Nginx (mac,win自行查资料)
brew install nginx
# Typescript
npm install -g typescript
# Webpack (建议安装在项目中,不全局安装)
npm install --save-dev webpack
npm install --save-dev webpack-cli # 4.0版本还需要安装cli
# Gulp
npm install -g gulp
# Vue
npm install -g vue
# React
cnpm install -g create-react-app