安裝 macOS 命令行工具
xcode-select --install
安裝 Homebrew 和 Homebrew Cask
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update
brew cask
Homebrew 下載加速
替換 brew.git
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
替換 homebrew-core.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
配置 Homebrew Bottles 鏡像
bash
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile
zsh
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc
brew 安裝常用工具
| 工具 |
命令 |
描述 |
| bash-completion |
brew install bash-completion |
bash 補(bǔ)全 |
| git |
brew install git |
版本管理工具 |
| go |
brew install go |
Go |
| graphviz |
brew install graphviz |
拓?fù)鋱D繪制工具 |
| lua |
brew install lua |
Lua |
| LuaRocks |
brew install luarocks |
Package manager for Lua modules |
| mysql |
brew install mysql |
MySQL |
| node |
brew install node |
Node.js |
| nginx |
brew install nginx |
Nginx |
| nmap |
brew install nmap |
網(wǎng)絡(luò)掃描工具 |
| navi |
brew install denisidoro/tools/navi |
交互式命令行備忘錄 |
| python |
brew install python |
Python |
| redis |
brew install redis |
Redis |
| shellcheck |
brew install shellcheck |
shell 腳本檢查工具 |
| eslint |
npm i -g eslint |
ESLint |
| luacheck |
luarocks install luacheck |
A tool for linting and static analysis of Lua code |
| nrm |
npm i -g nrm |
NPM registry manager |
| typescript |
npm i typescript |
TypeScript |
brew cask 安裝常用工具
| 工具 |
命令 |
描述 |
| CheatSheet |
brew cask install cheatsheet |
快捷鍵提醒工具 |
| dash |
brew cask install dash |
文檔工具 |
| ezip |
brew cask install ezip |
查看、編輯壓縮包,無需解壓 |
| firefox |
brew cask install firefox |
終端工具 |
| flux |
brew cask install flux |
保護(hù)下眼睛 |
| foxmail |
brew cask install foxmail |
快速的郵件客戶端 |
| google-chrome |
brew cask install google-chrome |
Chrome |
| iina |
brew cask install iina |
modern media player for macOS |
| iterm2 |
brew cask install iterm2 |
終端工具 |
| java |
brew cask install java |
open jdk java |
| motrix |
brew cask install motrix |
下載工具 |
| mounty |
brew cask install mounty |
支持 NTFS 存儲(chǔ)讀寫 |
| picgo |
brew cask install picgo |
支持常用 cdn 的圖床工具 |
| Postman |
brew cask install postman |
Postman |
| Robo 3T |
brew cask install robo-3t |
MongoDB 可視化工具 |
| Sequel Pro |
brew cask install sequel-pro |
好用的 MySQL 管理工具 |
| Sourcetree |
brew cask install sourcetree |
強(qiáng)大的 Git 跨平臺(tái)客戶端 |
| SwitchHosts |
brew cask install switchhosts |
Switch hosts quickly! |
| Termius |
brew cask install termius |
挺好看一終端工具 |
| Typora |
brew cask install typora |
Markdown 工具 |
| VS Code |
brew cask install visual-studio-code |
Visual Studio Code |
Reference
mac-dev-setup
open-source-mac-os-apps
替換及重置 Homebrew 默認(rèn)源
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。