This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| macos:setup-new-macos [2023-07-03] – dcai | macos:setup-new-macos [2025-03-21] (current) – dcai | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Setup new macOS ===== | ===== Setup new macOS ===== | ||
| - | ==== Download ==== | + | ==== 🟦 Download |
| - | - **添加中文双拼输入法** | + | === 👉 启用自然码 |
| - | - **启用自然码** <code bash> | + | |
| + | <code bash> | ||
| + | # 添加中文双拼输入法 | ||
| # choose ziranma | # choose ziranma | ||
| defaults write com.apple.inputmethod.CoreChineseEngineFramework shuangpinLayout 5 | defaults write com.apple.inputmethod.CoreChineseEngineFramework shuangpinLayout 5 | ||
| </ | </ | ||
| - | - Install brew (go ahead install app store apps while waiting) <code bash>/ | ||
| - | - install brew packages< | ||
| - | # essentials | ||
| - | / | + | === 👉 Install |
| - | echo / | + | Go ahead install app store apps while waiting |
| - | chsh -s / | + | |
| - | # dev must have | + | <code bash> |
| - | brew install | + | / |
| + | </ | ||
| - | brew install \ | + | === 👉 ffmpeg === |
| - | aria2 aspell bat cmake colordiff coreutils \ | + | |
| - | direnv dfc duf exa exiftool fd fish fastfetch gawk git git-delta \ | + | |
| - | gnu-sed gnupg2 gopass htop imagemagick \ | + | |
| - | iproute2mac ispell jpeg jq macchina ncdu openssl \ | + | |
| - | pandoc pcre pcre2 pv python3 qpdf \ | + | |
| - | rg rsync stylua sponge the_silver_searcher tealdeer tig \ | + | |
| - | tmux tmuxp tree vim viu watch xplr xz neovim | + | |
| - | # coding things | + | <code bash> |
| - | brew install prettier black virtualenv shellcheck shfmt isort \ | + | cd ~/.local/bin |
| - | tree-sitter luajit lua-language-server eslint stylua typescript \ | + | |
| - | typescript-language-server pyright | + | |
| - | + | ||
| - | # clang | + | |
| - | brew install clang-format llvm | + | |
| - | + | ||
| - | npm i -g lua-fmt neovim source-map-support cspell yarn | + | |
| - | python3 -m pip install --user --upgrade pynvim | + | |
| - | + | ||
| - | brew install -f gdu | + | |
| - | brew link --overwrite gdu # if you have coreutils installed as well | + | |
| - | + | ||
| - | # docker ps | + | |
| - | brew install ctop lazydocker | + | |
| - | + | ||
| - | # db stuff | + | |
| - | brew install litecli mycli pgcli | + | |
| - | + | ||
| - | # cloud stuff | + | |
| - | brew install aws-cdk awscli azure-cli google-cloud-sdk | + | |
| - | + | ||
| - | # youtube-dl/ | + | |
| - | brew install yt-dlp/ | + | |
| - | + | ||
| - | ## motd stuff | + | |
| - | brew install lolcat cowsay fortune | + | |
| - | + | ||
| - | + | ||
| - | # home computer must have | + | |
| - | brew install --cask bartender vlc iina v2rayu dropbox wechat itsycal visual-studio-code | + | |
| - | + | ||
| - | ## Universal Ctags (abbreviated as u-ctags) is a maintained implementation of ctags | + | |
| - | # brew install --HEAD universal-ctags/ | + | |
| - | + | ||
| - | git clone https:// | + | |
| - | asdf plugin add nodejs ' | + | |
| - | asdf global nodejs system | + | |
| - | arch -x86_64 asdf install nodejs 12.9.1 | + | |
| - | </ | + | |
| - | - ffmpeg< | + | |
| # It's easier installing just one binary than install many brew dependencies | # It's easier installing just one binary than install many brew dependencies | ||
| - | curl -O ' | + | curl -O ' |
| - | unzip ffmpeg-6.0.zip && | + | unzip ffmpeg-7.1.1.zip; chmod a+x ffmpeg |
| - | curl -O ' | + | curl -O ' |
| - | unzip ffprobe-6.0.zip && | + | unzip ffprobe-7.1.1.zip; chmod a+x ffprobe |
| - | </ | + | |
| - | - prepare '' | + | |
| - | - '' | + | |
| - | - '' | + | |
| - | - '' | + | |
| - | - [[https:// | + | |
| - | - Update ''/ | + | |
| - | echo -e ' | + | |
| </ | </ | ||
| - | - update user shell: < | ||
| - | - Font: https:// | ||
| - | ==== Settings ==== | ||
| - | - '' | + | === 👉 Other scripts |
| - | - '' | + | |
| + | - prepare '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - [[https:// | ||
| + | === 👉 Settings === | ||
| - | ==== Drivers ==== | + | - '' |
| + | - '' | ||
| - | < | + | ==== 🟦 Must have macOS apps ==== |
| - | brew install fujifilm-x-webcam homebrew/ | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Must have macOS apps ==== | + | |
| - | === app store ==== | + | === 👉 app store === |
| * [[https:// | * [[https:// | ||
| Line 110: | Line 53: | ||
| * [[https:// | * [[https:// | ||
| - | === Tools === | + | === 👉 Tools === |
| * espanso | * espanso | ||
| * [[https:// | * [[https:// | ||
| - | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | * [[https:// | + | * [[https:// |
| * [[https:// | * [[https:// | ||
| - | * [[https://www.macbartender.com/Bartender4/|Bartender 4]] | + | * [[https://github.com/jordanbaird/Ice|Ice]] |
| * [[https:// | * [[https:// | ||
| + | === 👉 security === | ||
| - | === security === | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | * < | + | * < |
| + | |||
| + | === 👉 Nice to have macOS apps === | ||
| - | ==== Nice to have macOS apps ==== | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | * [[https:// | ||
| * [[http:// | * [[http:// | ||
| * [[https:// | * [[https:// | ||
| Line 139: | Line 81: | ||
| * [[https:// | * [[https:// | ||
| - | === dev === | + | === 👉 dev === |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | === 👉 I’m trying === | ||
| - | ==== I'm trying ==== | ||
| * [[https:// | * [[https:// | ||
| + | |||