< MacOS
Brucekomike(讨论 | 贡献) 无编辑摘要 |
Brucekomike(讨论 | 贡献) 无编辑摘要 |
||
(未显示同一用户的7个中间版本) | |||
第1行: | 第1行: | ||
[[分类:软件]] | [[分类:软件]] | ||
[[分类:知识库]] | [[分类:知识库]] | ||
MacOS下的包管理器,本页内包含安装方式和推荐通过Brew安装的软件列表 | |||
== 安装 == | |||
安装必要的命令行工具 | |||
<pre> | |||
xcode-select --install | |||
</pre> | |||
设置环境变量 | |||
<pre> | |||
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 | |||
</pre> | |||
安装homebrew | |||
<pre> | |||
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 | |||
</pre> | |||
== 软件列表 == | == 软件列表 == | ||
maccy \ | maccy keka \ | ||
zsh-completions nmap http-server | baobab glances smartmontools \ | ||
bash nano mc cyberduck mountain-duck \ | |||
zsh zsh-completions nmap http-server simple-web-server \ | |||
android-studio godot visual-studio-code \ | android-studio godot visual-studio-code \ | ||
scrcpy android-platform-tools | scrcpy android-platform-tools \ | ||
firefox google-chrome@beta | firefox google-chrome@beta microsoft-edge \ | ||
libreoffice calibre \ | libreoffice calibre \ | ||
xournal-plus-plus \ | xournal-plus-plus \ | ||
zettlr obsidian logseq | zettlr obsidian logseq appflowy \ | ||
wacom-tablet \ | wacom-tablet \ | ||
kodi vlc \ | kodi vlc \ | ||
olive kdenlive obs ffmpeg \ | olive kdenlive obs ffmpeg \ | ||
gimp macsvg krita inkscape \ | gimp macsvg krita inkscape \ | ||
audacity reaper sonic-pi pd blackhole-2ch blackhole-64ch musescore sonic-visualiser \ | audacity reaper sonic-pi pd blackhole-2ch blackhole-64ch musescore sonic-visualiser \ | ||
discord element \ | discord element \ | ||
utm \ | utm \ | ||
blender kicad freecad \ | blender kicad freecad \ | ||
microsoft-remote-desktop netbird netbird-ui | 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 |
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