App Store
- Bob - 全局划词、截图翻译
- WPS Office
- 滴答清单 - 安装后移除所有全局快捷键
- 腾讯会议
非 App Store
- Capslock - Caps 键功能增强
- Chrome
- Cursor
- Docker Desktop
- JetBrains Toolbox
- Navicat Premium Lite - 数据库管理
- OneDrive
- Raycast - 启动器
- Tencent Lemon - 系统清理
- Tiny RDM - Redis GUI
- Visual Studio Code
- 微信
- 微信输入法
Homebrew
brew tap buo/cask-upgrade
# 统一行尾符为 LF
git config --global core.autocrlf input
git config --global core.eol lf
# 显示原始文件名
git config --global core.quotepath off
# 区分大小写
git config --global core.ignorecase false
git config --global init.defaultBranch main
# 设置用户信息
git config --global user.name {username}
git config --global user.email {email}
git config --global credential.github.com.provider {username}
brew install btop
# 管理 Node.js 版本
brew install fnm
brew install font-jetbrains-mono
brew install git git-lfs git-flow
# 添加以下内容到 ~/.zshrc
export PATH="/Users/wangze/go/bin:$PATH"
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
# mac-cleanup -c # 设置
# mac-cleanup -n # 运行
brew tap mac-cleanup/mac-cleanup-py
brew install mac-cleanup-py
# PHP
brew install php
brew install composer
brew install --cask apifox
brew install --cask claude-code
brew install --cask djyde/brew/ccmate
brew install --cask dbeaver-community
# 媒体播放器
brew install --cask iina
# 录屏
brew install --cask kap
# 增强鼠标功能
brew install --cask mac-mouse-fix
brew install --cask maczip
# 支付宝小程序开发者工具
brew install --cask mini-program-studio
# 网易云音乐
brew install --cask neteasemusic
# 图床
brew install --cask picgo
# 截图和贴图
brew install --cask snipaste
# Git 客户端
brew install --cask sourcetree
brew install --cask switchhosts
# 微信开发者工具
brew install --cask wechatwebdevtools
# Go
brew install go
# Rust
# 解决安装和更新慢:https://rsproxy.cn/#getStarted
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
rustc -V && cargo -V
# 管理 Java
curl -s "https://get.sdkman.io" | bash系统设置
打开
- 三指拖移
- 触控板手势 - 更多手势 -App Exposé - 四指向下清扫
- 使窗口按应用程序成组
- 在滚动条中点按跳到点按的位置
- 键盘快捷键
- 调度中心
- Move left a space:Ctrl + 1
- Move right a space:Ctrl + 2
- Switch to Desktop 1:Ctrl + Q
- Switch to Desktop 2:Ctrl + W
- Mission Control:Ctrl + E
- Application windows:Ctrl + D
- Use the Caps Lock key to switch to and from ABC
- 调度中心
- Finder > Menu Bar > View > Show Path Bar
- Privacy & Security > Extensions > Added extensions > OneDrive > Finder extensions
- General > Extensions > File Providers
- Privacy & Security > File & Folders
关闭
- 调度中心 - 根据最近的使用情况自动重新排列空间
- iCloud - 同步桌面与文稿文件夹
- 在程序坞中显示最近使用的应用程序
- Spotlight
- 所有内容取消勾选
- 关闭磁盘索引:sudo mdutil -a -i off
- Keyboard > Service > Text > Search man Page Index in Terminal
- Desktop & Dock > Windows > Drag windows to menu bar to fill screen
- Desktop & Dock > Windows > Tiled windows have margins
DNS
- 223.5.5.5
- 223.6.6.6
- 119.29.29.29
Chrome
访问一次 https://google.com/ncr,防止 Google 根据 IP 地址自动重定向
Github
解决访问不到 Github
解决 Connection Closed By x.x.x.x Port 22,替换自己的 username
# ~/.ssh/config
Host github.com
HostName ssh.github.com
User {username}
Port 443Docker
Settings - Docker Engine
{
"builder": {
"gc": {
"defaultKeepStorage": "10GB",
"enabled": true
}
},
"experimental": false,
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}消除 CapsLock 键延迟
hidutil property --set '{"CapsLockDelayOverride":0}'