< MacOS
Brucekomike(讨论 | 贡献) 无编辑摘要 |
Brucekomike(讨论 | 贡献) 无编辑摘要 |
||
第4行: | 第4行: | ||
== 安装 == | == 安装 == | ||
安装必要的命令行工具 | |||
<pre> | |||
xcode-select --install | |||
</pre> | |||
设置环境变量 | |||
<pre> | <pre> | ||
echo 'export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"' >> ~/.zprofile | echo 'export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"' >> ~/.zprofile | ||
第17行: | 第23行: | ||
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" | export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" | ||
export HOMEBREW_INSTALL_FROM_API=1 | export HOMEBREW_INSTALL_FROM_API=1 | ||
</pre> | |||
安装homebrew | |||
<pre> | |||
git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/install.git brew-install | git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/install.git brew-install | ||
/bin/bash brew-install/install.sh | /bin/bash brew-install/install.sh |
2024年11月21日 (四) 15:04的最新版本
MacOS下的包管理器,本页内包含安装方式和推荐通过Brew安装的软件列表
安装
安装必要的命令行工具
xcode-select --install
设置环境变量
echo 'export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"' >> ~/.zprofile echo 'export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"' >> ~/.zprofile export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api" export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles" echo 'export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"' >> ~/.zprofile echo 'export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git"' >> ~/.zprofile echo 'export HOMEBREW_INSTALL_FROM_API=1' >> ~/.zprofile export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git" export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" export HOMEBREW_INSTALL_FROM_API=1
安装homebrew
git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/install.git brew-install /bin/bash brew-install/install.sh rm -rf brew-install
软件列表
maccy keka \ baobab glances smartmontools \ bash nano mc cyberduck mountain-duck \ zsh zsh-completions nmap http-server simple-web-server \ android-studio godot visual-studio-code \ scrcpy android-platform-tools \ firefox google-chrome@beta microsoft-edge \ libreoffice calibre \ xournal-plus-plus \ zettlr obsidian logseq appflowy \ wacom-tablet \ kodi vlc \ olive kdenlive obs ffmpeg \ gimp macsvg krita inkscape \ audacity reaper sonic-pi pd blackhole-2ch blackhole-64ch musescore sonic-visualiser \ discord element \ utm \ blender kicad freecad \ microsoft-remote-desktop rustdesk \
需要拉取仓库的包
brew tap mac-cleanup/mac-cleanup-py brew install mac-cleanup-py
brew install netbirdio/tap/netbird brew install --cask netbirdio/tap/netbird-ui