检测当前系统

点击后自动识别操作系统版本,显示对应的安装方法和下载链接。

← 重新检测

以上是针对你系统版本的精简指南。完整手册包含所有工具和平台。

查看完整安装手册

完整安装手册

← 返回首页
Homebrew
macOS 包管理器,所有工具的前提
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Apple Silicon (M1/M2/M3/M4) 装完需执行:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile && eval "$(/opt/homebrew/bin/brew shellenv)"
brew --version
Oh My Zsh
zsh 配置框架,插件+主题
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
nvm + Node.js
Node 版本管理器
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
重新加载 shell 后执行:
nvm install --lts && nvm use --lts
pyenv + Python
Python 版本管理
brew install pyenv && echo 'eval "$(pyenv init -)"' >> ~/.zshrc && source ~/.zshrc
然后安装 Python:
pyenv install 3.12 && pyenv global 3.12
Rustup
Rust 工具链安装器
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Git + GitHub CLI
版本控制 + PR/Issue 命令行
brew install git gh
tmux
终端多路复用,保持远程会话
brew install tmux
Docker Desktop
容器开发环境
brew install --cask docker
效率工具一键安装
fzf · ripgrep · fd · bat · eza · jq · btop · tldr
brew install fzf ripgrep fd bat eza jq btop tlrc && $(brew --prefix)/opt/fzf/install
Claude Code
Anthropic 官方 CLI(需 Node.js)
npm install -g @anthropic-ai/claude-code
claude
首次运行会引导浏览器授权。
SSH 密钥生成
macOS 自带 OpenSSH,无需安装
ssh-keygen -t ed25519 -C "your@email.com"
公钥位于 ~/.ssh/id_ed25519.pub,复制到服务器 authorized_keys 即可免密登录。
基础工具包
git · curl · wget · tmux · vim · build-essential
sudo apt update && sudo apt install -y git curl wget tmux vim build-essential
SSH 服务端
让其他机器可以 SSH 进来
sudo apt install -y openssh-server && sudo systemctl enable --now ssh
查看本机 IP:ip addr | grep 'inet '
zsh + Oh My Zsh
更好用的 shell
sudo apt install -y zsh && chsh -s $(which zsh)
重新登录后安装 Oh My Zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
nvm + Node.js
Node 版本管理器
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && source ~/.bashrc
nvm install --lts && nvm use --lts
pyenv + Python
Python 版本管理
curl https://pyenv.run | bash
加入 ~/.bashrc:
echo 'export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)"' >> ~/.bashrc && source ~/.bashrc
pyenv install 3.12 && pyenv global 3.12
Docker Engine
无 GUI 容器运行时
curl -fsSL https://get.docker.com | sh && sudo usermod -aG docker $USER
重新登录后生效(免 sudo 运行 docker)。
效率工具一键安装
fzf · ripgrep · fd · bat · jq · btop
sudo apt install -y fzf ripgrep fd-find bat jq btop
Ubuntu/Debian 的 fd 和 bat 命令名不同,建立别名:
mkdir -p ~/.local/bin && ln -sf $(which fdfind) ~/.local/bin/fd && ln -sf $(which batcat) ~/.local/bin/bat
Claude Code
Anthropic 官方 CLI(需 Node.js)
npm install -g @anthropic-ai/claude-code
SSH 服务端(Win 10/11)
PowerShell 管理员,开启 OpenSSH
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 Start-Service sshd Set-Service -Name sshd -StartupType Automatic
管理员 PowerShell 中运行。
SSH 客户端(Win 7)
Cygwin + OpenSSH 9.6 安装器
Win7 EOL since 2020,仅在受控内网使用。
下载 Win7 64位 SSH 安装器(Cygwin 3.4 + OpenSSH 9.6,42.6 MB)
Scoop 包管理器
Windows 命令行包管理,无需管理员
在普通 PowerShell(非管理员)中运行:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
然后安装常用工具:
scoop install git curl neovim fzf ripgrep jq
WSL2 + Ubuntu
在 Windows 里运行真实 Linux(推荐)
需要在管理员 PowerShell 中运行,安装完成后须重启电脑。
wsl --install
重启后启动 Ubuntu,设置用户名密码,然后参考 Linux 手册继续安装开发工具。
nvm-windows + Node.js
Windows 专用 Node 版本管理
scoop install nvm nvm install lts nvm use lts
Python
via Scoop
scoop install python
Claude Code
Anthropic 官方 CLI(需 Node.js)
npm install -g @anthropic-ai/claude-code
向日葵远程控制 · 各版本下载
选择对应操作系统版本下载,XP 版本需使用历史归档。
系统推荐版本下载 / 说明
Windows 11 / 10推荐 最新版 sunlogin.oray.com/download → 选 Windows 安装包
Windows 8.1 / 8 v12.x 历史版本归档 → 搜索 v12,支持 Win8+
Windows 7EOL v12.x 最后支持 历史版本归档 → v12,仅受控内网使用
Windows XP / VistaEOL v8.x 历史版本归档 → 搜索 v8,需 XP SP3。安全风险高,仅内网
macOS 最新版 sunlogin.oray.com/download → 选 macOS,支持 Intel + Apple Silicon(Rosetta)
Linux (Ubuntu/Debian) 最新 .deb
wget https://down.oray.com/sunlogin/linux/sunloginclient-latest-amd64.deb && sudo dpkg -i sunloginclient-latest-amd64.deb
实际文件名以 官方页面 Linux 版为准

安装报错 AI 诊断

粘贴安装时遇到的错误信息,AI 自动分析根因并给出修复命令。