quick start for macos
homeBrew
The Missing Package Manager for macOS (or Linux)
# 需要有 git
# https://gitee.com/cunkai/HomebrewCN?_from=gitee_search
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
brew cask
安装部分图形界面软件
google chrome , firefox , wps , wechat wechart for work more…
- 截图工具
brew install --cask snipaste
- 科学上网
brew install --cask clashx
- 网络代理
brew install --cask proxyman
- docker desktop
brew install --cask docker
oh-my-zsh
好用的 shell
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
nvm
Version Manager for node
brew install nvm
...
export NVM_DIR="$HOME/.nvm"
[ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && . "$(brew --prefix)/opt/nvm/nvm.sh" # This loads nvm
[ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && . "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
autojump
快速跳转目录
# install autojump
brew install autojump
~/.zshrc
...
plugins=(
autojump
)
...
vscode
command + shift + p
- 输入
install ....code command in path
enter
- 将
code
注册到命令行
example
cd /Users/admin/Desktop/code/testdir
cd /xxx/xxx/...code/dir
cd ~
j testdir # 自动跳转到 testdir
j dir # 自动跳转到 dir
code . # 用vscode打开当前目录
code /Users/admin/Desktop/code/testdir # 用vscode打开当testdir
…更多看文档