# Latest version
curl -fsSL https://raw.githubusercontent.com/vinhnx/vtcode/main/scripts/install.sh | bash
# Specific version
curl -fsSL https://raw.githubusercontent.com/vinhnx/vtcode/main/scripts/install.sh | bash -s v0.85.0- Version: Pass as argument (
v0.85.0orlatest) - Install dir:
VTCode_INSTALL_DIR=/usr/local/bin bash install.sh
- Detects OS (macOS/Linux) and architecture (x86_64/aarch64)
- Fetches latest version from GitHub API (or uses specified version)
- Downloads release tarball from GitHub Releases
- Extracts and installs to
$VTCode_INSTALL_DIR/vtcode - Copies the bundled
ghostty-vt/runtime library directory from the release archive - Adds to PATH if needed (updates
.bashrc,.zshrc, or.profile)
If the bundled ghostty-vt/ runtime library directory is missing or cannot be installed, VT Code still installs successfully and falls back to legacy_vt100.
This differs from the optional search tools flow:
ripgrepandast-grepcan be installed after the fact withvtcode dependencies install search-tools- Ghostty VT is not managed through
vtcode dependencies install ... - Official macOS/Linux release archives are expected to include
ghostty-vt/next to the VT Code binary - Fresh configs default to Ghostty and still fall back to
legacy_vt100if the runtime library is absent.
- macOS 10.15+ (Intel & Apple Silicon)
- Linux x86_64, aarch64
- WSL (use install.ps1 for native Windows)
# Latest version
irm https://raw.githubusercontent.com/vinhnx/vtcode/main/scripts/install.ps1 | iexSee install.ps1 for details.
The Windows installer currently ships only the VT Code binary. Ghostty VT remains unsupported there, so Windows continues to use legacy_vt100.
As on macOS/Linux, Ghostty VT is a packaged runtime-library add-on rather than a VT Code-managed dependency command.