Skip to content

跨平台兼容性矩阵

本页记录了 Dotfiles v0.2.495 在 macOS、Linux 和 WSL2 上的已测试平台支持。

徽章图例

徽章含义
完全测试并支持
⚠️部分支持 — 见备注
不支持
不适用

Shell 环境

组件macOS Sonoma+Ubuntu 24.04WSL2 (Ubuntu)备注
Bash 5.xmacOS 需要 Homebrew Bash
Zsh 5.9+macOS 默认
Fish 3.7+apt / brew install fish
POSIX sh⚠️别名支持有限
PowerShell⚠️仅 WSL 互操作

现代核心工具

工具macOS Sonoma+Ubuntu 24.04WSL2 (Ubuntu)安装
Atuin (history)brew / cargo
bat (cat)brew / apt
eza (ls)brew / cargo
fd (find)brew / apt
fzf (fuzzy)brew / apt
ripgrep (grep)brew / apt
starship (prompt)brew / cargo
zoxide (cd)brew / cargo
Yazi (file mgr)brew / cargo
Zellij (mux)brew / cargo
NeoVimbrew / apt

终端模拟器

终端macOS Sonoma+Ubuntu 24.04WSL2 (Ubuntu)备注
Ghostty⚠️Linux 原生 Wayland
Alacritty⚠️GPU 加速
WezTermLua 配置
iTerm2仅 macOS
Windows TerminalWSL 主机

包管理器

管理器macOS Sonoma+Ubuntu 24.04WSL2 (Ubuntu)备注
HomebrewmacOS 主要
apt系统包
CargoRust 工具
npm / pnpmNode 工具
pip / pipxPython 工具

安全与签名

功能macOS Sonoma+Ubuntu 24.04WSL2 (Ubuntu)备注
SSH commit signing原生,无需 GPG
age encryptionChezmoi 集成
SOPSage 或 GPG 后端
1Password CLI⚠️WSL 需要桥接
git-secretsPre-commit 钩子

别名类别

类别macOS Sonoma+Ubuntu 24.04WSL2 (Ubuntu)备注
AI需要 API 密钥
Archives
cd (zoxide)
chmod
Clear
Configuration
Default
Diagnostics
dig
Disk Usage
Docker需要 Docker
Editor
Find (fd)
Fonts⚠️⚠️无头模式受限
gcloud需要 SDK
Git
GNU⚠️macOS 需要 coreutils
Go需要 Go
Heroku需要 CLI
Interactive
Kubernetes需要 kubectl
Lua需要 Lua
macOS仅 macOS
Make
mkdir
ModernRust 替代工具
npm需要 Node
Permission
pnpm需要 pnpm
ps
Python需要 Python
rsync
Rust需要 Rust
Security
Subversion需要 svn
sudo
Terraform需要 Terraform
tmux
Update
UUID
wget
Yarn需要 Yarn

相关页面