6
前端开发环境 - Mac 篇
source link: https://xiaozhu.dev/post/web-dev-mac-env/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
iTerm2
- 终端VS Code
- 编辑器Chrome
- 浏览器ClashX
- 网络工具Alfred
- 效率工具Dash
- 开发文档工具Paw
- 接口调试工具SwitchHosts!
- 管理 hostTablePlus
- 数据库工具Charles
- 网络代理工具uPic
- 上传图片工具
基于 iTerm2 的命令行配置
- 安装
brew
- macOS 包管理工具
export HOMEBREW_BREW_GIT_REMOTE="..." # put your Git mirror of Homebrew/brew here
export HOMEBREW_CORE_GIT_REMOTE="..." # put your Git mirror of Homebrew/homebrew-core here
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
参考链接:Homebrew
antigen
- zsh 插件管理工具
antigen
安装:
brew install antigen
antigen
基本配置:
# 写入 .zshrc
source /path-to-antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle heroku
antigen bundle pip
antigen bundle lein
antigen bundle command-not-found
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the theme.
antigen theme robbyrussell
# Tell Antigen that you're done.
antigen apply
- Powerlevel10k - zsh theme
# 编辑 .zshrc 注意注释其他主题
antigen theme romkatv/powerlevel10k
- Node.js 相关包
yarn
-brew
安装nvm
- 通过antigen
插件集成nrm
-yarn
全局安装pnpm
-yarn
全局安装
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK