English | 简体中文
frontend dev env setup
aims to provide a conveniently way to configure a frontend development environment from a just installed Linux (temporarily Ubuntu only) from scratch.
It contains features following:
- apt Tsinghua mirror
- ca-certificates
- Tsinghua https mirror
- zh-hans
- git
- several git alias that I usually use
- curl and wget
- zsh
- oh-my-zsh
- Set as default shell.
- nvm
- Nodejs 16
- nvm hook to change node version automatically if there is a
.nvmrc
- nrm
- Using taobao mirror defaultly.
- python2.7(to make node-sass compatible)(please move to
sass
orsass-embeded
instead ofnode-sass
because of less of officail support)- python symbol link reffered to python2.7
- vim
- yarn
- pnpm
Table of Contents
- a just installed Ubuntu ( temporarily ) or already in used
- amd64/x84_64 or aarch64(arm64)
- bash
If your OS has installed curl or wget ( it usually has installed curl), you can run one of commands following.
curl -fsSL https://raw.githubusercontent.com/yuzheng14/frontend-dev-env-setup/main/install.sh | bash
wget -qO- https://raw.githubusercontent.com/yuzheng14/frontend-dev-env-setup/main/install.sh | bash
Otherwisely you can copy content here into install.sh
and run command following.
bash install.sh
- i18n support
- choosable prompt support
- more accurate oh-my-zsh detection
- Multiple OS support ( macOS, centOS ... )