Installation
The easiest way to install wai is using a package manager.
Homebrew (macOS & Linux)
brew tap charly-vibes/charly
brew install wai
Scoop (Windows)
scoop bucket add charly https://github.com/charly-vibes/scoop-charly.git
scoop install wai
From Binary (All Platforms)
Download the latest pre-compiled binary for your architecture from the GitHub Releases page.
- Unpack the archive.
- Move the
waibinary to a directory in your PATH (e.g.,/usr/local/binorC:\Windows\System32).
From Source (Rust Developers)
Requires Rust (stable toolchain).
cargo install --path .
This installs the wai binary to ~/.cargo/bin/.
⚠️ WARNING: Ensure
~/.cargo/bin/is in your PATH and has precedence. If you’ve previously installedwaivia a package manager, the cargo version might be shadowed.
Verify Installation
which wai # Check which binary is being used
wai --version # Check version
wai --help # Check help
Common Installation Issues
“wai: command not found”
Problem: The directory containing the wai binary is not in your shell’s PATH.
Solution (macOS/Linux):
Add this to your shell profile (.bashrc, .zshrc, or .profile):
export PATH="$HOME/.cargo/bin:$PATH"
Solution (Windows):
Add %USERPROFILE%\.cargo\bin to your User PATH environment variable.