Skip to content
wadefengxPublic

About

๐Ÿ„ All-in-one Node.js version & npm/yarn/pnpm registry manager. Single binary, install once, works everywhere.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Wade

๐Ÿ„ All-in-one runtime manager: Node.js ยท Go ยท Python. Single binary, zero deps.

Go Platform License

Wade replaces nvm + cgr/nrm + gvm + pyenv. Single binary, install once, works everywhere.

๐Ÿ“– ไธญๆ–‡ๆ–‡ๆกฃ ยท ๐ŸŒ Website

๐Ÿค– AI-Native ๅผ€ๅ‘ไฝ“็ณป:ๆœฌ้กน็›ฎๆŒ‰ AI_DEV_INSTRUCTION ็ป„็ป‡,.ai/ ็›ฎๅฝ•ๅŒ…ๅซ constitution/runtime/workflows/registry/specs/harnessใ€‚AI ไปฃ็†ๅ…ˆๆŸฅ .ai/registry/,่ดจ้‡้—จ็ฆ่ท‘ .ai/harness/verify.shใ€‚


Installation

Pre-built binary (recommended, no Go required)

Download the latest binary from GitHub Releases:

Platform Download
macOS (Apple Silicon) wade-darwin-arm64.tar.gz
macOS (Intel) wade-darwin-amd64.tar.gz
Linux (x64) wade-linux-amd64.tar.gz
Windows (x64) wade-windows-amd64.zip
# Example: macOS Apple Silicon
tar xzf wade-darwin-arm64.tar.gz
sudo mv wade /usr/local/bin/
wade -i

macOS โ€” Homebrew

brew install wadefengx/tap/wade
wade -i

Windows โ€” one-line installer

# PowerShell (5.1+ built into Windows, works from cmd too)
irm https://github.com/wadefengx/wade/releases/latest/download/install.ps1 | iex

Installs to %LOCALAPPDATA%\wade, adds it to user PATH, runs setup --auto, and activates this PowerShell window. Then wade -i.

Linux / macOS โ€” curl installer

curl -fsSL https://github.com/wadefengx/wade/releases/latest/download/install.sh | bash
eval "$(wade env)"    # this window โ€” do not skip
wade -i

From source (requires Go 1.23+)

git clone https://github.com/wadefengx/wade.git
cd wade
go build -o /usr/local/bin/wade .
wade -i

Post-install: this window

setup persists PATH for new shells. The current window still has the old PATH โ€” activate it once:

eval "$(wade env)"                 # macOS / Linux / Git Bash
Invoke-Expression (wade env | Out-String)   # PowerShell

wade doctor explains what is wrong. wade doctor --fix rewrites rc files and both PowerShell 5.1 / 7 profiles.


Quick Start

wade -i          # Interactive setup โ€” choose Node, Go, Python, or all
wade init -y     # Non-interactive: auto-config all three (China-friendly)
wade update      # Self-update wade to the latest version
wade -u          # Same as above (shortcut flag)

๐Ÿ’ก wade checks for updates before every command (cached 24h) and prints a one-line hint when a newer version exists.

Daily (like nvm + cgr)

wade                 # status
wade 20              # use Node 20 (installs if missing)
wade use taobao      # switch npm/yarn/pnpm
wade use taobao yarn # yarn only
wade ls              # versions + registries
wade pin             # write .wade-version / reuse .nvmrc
eval "$(wade hook zsh)"   # auto-switch on cd

Reads .wade-version, .nvmrc, and .node-version.

Per-runtime

Runtime Install Switch Lists Mirror Registry
Node wade install 20 wade use 20 ls node mirror use taobao
Go wade go install 1.23 wade go use 1.23 go ls go mirror go proxy
Python wade python install 3.12 wade python use 3.12 python ls โ€” python registry

Commands

โšก Two updates โ€” don't mix them up:

Command What it updates
wade -u / wade update wade itself (the tool) โ€” downloads the latest wade binary
wade node update Node.js runtimes โ€” refreshes installed Node versions

wade -i / wade init โ€” Setup wizard

wade -i                 # 3-step interactive setup
wade init -y            # Non-interactive (defaults)
wade init               # Write .wade-version for current project

wade node โ€” Version management

wade install 20             # Install Node 20 and switch to it
wade use 20                 # Switch to Node 20
wade use                    # Use the nearest .wade-version / .nvmrc / .node-version
wade ls                     # List versions and registries
wade node install 20        # Same, explicit runtime
wade node use 20
wade node ls                # List installed versions
wade node ls-remote         # Browse available versions
wade node default 20        # Set default version (and switch to it)
wade node uninstall 18      # Remove a version
wade node update            # Update ALL installed versions to latest
wade node update 18         # Update the Node 18 line to latest
wade node mirror            # Show download source
wade node mirror mirror     # Use npmmirror.com (fast in China)
wade node mirror official   # Use nodejs.org

Project Node version pinning

Create a .wade-version file containing a Node version in a project directory:

echo 20.12.0 > .wade-version
wade node use

wade node use searches the current directory and its parents up to your home directory, using the nearest .wade-version. An explicit version, such as wade node use 22, takes precedence.

wade registry โ€” npm/yarn/pnpm mirror

wade ls                     # Registries with * / N Y P markers
wade use taobao             # Switch all package managers
wade use taobao yarn        # yarn only
wade registry ls
wade registry use taobao
wade registry add x https://x.com/   # Add custom
wade registry test          # Speed test
wade registry test --use    # Switch to the fastest

Built-in: npm, taobao, tencent, huawei, cnpm

wade go โ€” Go version management

wade go install 1.23        # Install Go 1.23
wade go use 1.23            # Switch to Go 1.23
wade go ls                  # List installed versions
wade go ls-remote           # Browse available versions
wade go mirror ls           # List download mirrors
wade go mirror use google-cn  # Switch mirror (fast in China)
wade go mirror test         # Test mirror latency
wade go proxy ls            # List GOPROXY options
wade go proxy use goproxy.cn  # Switch proxy (fast in China)

wade python โ€” Python pip registry

wade python ls              # Detect system Python versions
wade python registry ls     # List pip mirrors
wade python registry use tsinghua  # Switch to Tsinghua mirror
wade python registry use aliyun    # Switch to Aliyun mirror

Development

git clone https://github.com/wadefengx/wade.git
cd wade
go build -o wade .

See CHANGELOG.md for version history. AI tools: read AGENTS.md for project context.

License

MIT ยฉ wadefengx

About

๐Ÿ„ All-in-one Node.js version & npm/yarn/pnpm registry manager. Single binary, install once, works everywhere.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages