果黑

无聊碎碎念

New Mac Setup

Here’s everything I use on a Mac.

Todos

  • Set up iCloud account.

  • Install Bitwarden. This is a self-deployed password management service.

  • Install Warp. The intelligent terminal.

  • Install Homebrew. THE package manager for macOS. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    • asciinema
    • bat <- cat
    • btop <- htop and top
    • emacs
    • exiftool
    • eza <- ls and exa
    • fx
    • fzf
    • jq
    • neofetch
    • neovim <- vim
    • procs <- ps
    • scc
    • tldr
    • tre (brew install tre-command) <- tree
    • tmux
    • uv
    • vizdata
    • yt-dlp
    • axel
    • iperf3
    • axel
    • iperf3
    • mosh
    • mtr
    • node
    • scrcpy
    • speedtest
    • smartmontools
    • tmux
    • ffmpeg
  • Change computer and host name:

    • sudo scutil --set ComputerName "newname"
    • sudo scutil --set LocalHostName "newname"
    • sudo scutil --set HostName "newname"
  • Stop Time Machine local snapshots. tmutil disablelocal was deprecated since Mojave. Use TimeMachineEditor instead.

  • Create a global gitignore file at ~/.gitignore. See this one as an example: git config --global core.excludesfile ~/.gitignore

  • Generate and add SSH key to GitHub account.

  • Turn off the Spotlight.

  • Generate and add SSH key to My servers.

  • In Safari, go to Preferences - Advanced, turn on “Show Develop menu in menu bar”.

Application list

A

B

C

D

  • Dato. Menubar Calendar, World Clocks. 🎫 
  • DaisyDisk. Disk usage in a wind rose diagram. 🎫
  • Dia. AI Browser.(set to default)🆓
  • Dropover 🎫 
  • Discord. brew install --cask discord 🍺🆓
  • Downie 🎫
  • Drafts. For drafting. 🔁
    • Cmd + Shift + 1 = Drafts main window
    • Cmd + Shift + 2 = Drafts quick entry
  • Dropshare. File Sharing Tool. 🎫

E

  • Eagle. Organize images. 🎫
  • Easydict. 开源的词典翻译 macOS App.🆓

F

G

H

  • Handbrake. Open source video transcoder. brew install —cask handbrake 🍺🆓
  • Hush. Content blocker for Safari. 

I

J

K

  • kcc, Kindle Comic Converter.🆓
  • Keka brew install --cask keka 🍺🆓
  • KeyClu. Cheatsheet alternative🆓
    • Double press cmd and hold to activate the cheatsheet.
    • Double press cmd and quick release to activate Siri.
    • brew install —cask keyclu 🍺

L

  • Latest. Checks applications’ latest update on macOS. brew install --cask latest 🍺🆓
  • LocalSend. Share files to nearby devices.🆓
  • Loop. Alternative to Moom.🆓
    • Left Ctrl to activate a selector ring.
    • brew install --cask loop 🍺
  • Logic Pro.🎫 
  • Loon, Network tool. 🎫

M

N

O

P

Q

  • QLMarkdown. macOS Quick Look extension for markdown files. brew install --cask qlmarkdown 🍺
  • Quantumult X, A Powerful Network Tool.🎫

R

  • Reeder 🔁.
  • Raycast. Extendable launcher substitute to Spotlight, with an extension store. Cmd + Space: Activate Raycast. (Disable this shortcut for Spotlight) brew install --cask raycast 🍺
  • Reminders Menubar brew install --cask reminders-menubar 🍺]

S

T

  • Tailscale.🆓
  • Telegram. brew install --cask telegram 🍺
  • Things 3. The best GTD. 
    • Ctrl + Space: quick entry.
    • Hyper + T: quick entry with autofill. This requires Things Helper.
  • TimeMachineEditor. Manually control Time Machine backup schedule. brew install --cask timemachineeditor 🍺
  • Transmission brew install --cask transmission 🍺
  • Tiny Image Native client of TinyPNG.🆓
  • Tot, collect & edit text.🆓
  • Transmit, macOS file transfer apps.🎫

U

  • UltraEdit, Text editor.🎫
  • Ulysses, Writing App.🎫
  • uPic. Image (and small file) upload tool for macOS. brew install bigwig-club/brew/upic --cask 🍺

V

W

X

  • XDeck.An 𝕏 client app.🆓
  • Xcode. 
  • xld. Lossless audio decoder for macOS.

Y

  • YACReader brew install --cask yacreader. 🍺

Z

  • Zed. Might be better than VSC. brew install --cask zed 🍺
  • Zen Browser. Might be better than Firefox. Plugins associated with Firefox should be synced.
  • ZeroTier 🆓

macOS Tips

sudo xattr -r -d com.apple.quarantine </File/To/Path>

Delete system file

# Disbale SIP (command + r)
csrutil disable
csrutil authenticated-root disable

# Mount '/' as write
sudo mount -uw /

# Do something
sudo cd "/Volumes/$(ls -1 /Volumes|head -n1)"
sudo rm -rf /System/Applications/TV.app
sudo rm -rf /System/Applications/News.app
sudo rm -rf /System/Applications/Home.app
sudo rm -rf /System/Applications/Books.app
sudo rm -rf /System/Applications/Chess.app
sudo rm -rf /System/Applications/Podcasts.app
sudo rm -rf /System/Applications/Stocks.app
sudo rm -rf /System/Applications/Music.app

# Enable SIP
csrutil enable
csrutil authenticated-root enable

via Guohei’s default-apps