๐Ÿ›  DevHub

A x-ray machine and control panel for development environment config. One command to manage your Git, SSH, environment variables, Node.js, and common tools.

$ npx @zjy4fun/devhub

Click to copy ยท Requires Node.js โ‰ฅ 18

devhub โ€” 80ร—24
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ ๐Ÿ›  DevHub โ€” Development Environment Manager โ”‚ โ”‚ v0.1.0 macOS arm64 โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ Select a configuration to manage: โฏ ๐Ÿ“ฆ Git Config Manage ~/.gitconfig ๐Ÿ” SSH Config SSH key & host management ๐Ÿ”‘ Environment Variables Shell variable provenance ๐Ÿ’š Node.js Ecosystem Node/npm/nvm/pnpm ๐Ÿ“ฅ Tool Installation Common dev tools + China mirrors โ†‘โ†“ Navigate โŽ Open q Quit

Feature Modules

๐Ÿ“ฆ

Git Config

Preview config, run health checks, edit username/email, default branch, pull strategy, and GPG signing reminders.

๐Ÿ”

SSH Config

Key scanning, permission checks, agent status, host config, one-click permission repair, key generation, and connection tests.

๐Ÿ”‘

Environment Variables

Variable provenance, duplicate detection, PATH analysis, sensitive value masking, and doctor fixes for safe remediations.

๐Ÿ’š

Node.js Ecosystem

Detect Node/npm/pnpm/yarn/bun/nvm/fnm and switch the npm registry between official and China mirrors.

๐Ÿ“ฅ

Tool Installation

Guided installation for 22+ common dev tools, with built-in China mirrors and official/mirror switching.

๐Ÿ‡จ๐Ÿ‡ณ

China Mirrors

Built-in mirror URLs for npm, Homebrew, pip, rustup, Go, Docker, and GitHub Releases.

๐Ÿ‡จ๐Ÿ‡ณ Optimized for China

Includes mainstream mirror URLs so npm/pip/Homebrew/Go/Rust can switch quickly without network friction.