Installation
Get Turbo up and running on your machine.
Prerequisites
- Rust (stable toolchain) -- rustup.rs
- C compiler -- gcc or clang (for linking AOT binaries)
Option 1: Homebrew (macOS)
Install on macOS via Homebrew. The formula installs the CLI and LSP binaries from the release archive.
brew tap ZVN-DEV/turbo
brew install turbo-langOption 2: Curl Installer
curl -fsSL https://raw.githubusercontent.com/ZVN-DEV/Turbo-Language/master/distribution/install.sh | bashOption 3: Build from Source
# Clone the repository
git clone https://github.com/ZVN-DEV/Turbo-Language.git
cd Turbo-Language/turbo
# Build in release mode
cargo build --release -p turbo-cli -p turbo-lsp
# The binaries are at target/release/turbolang and target/release/turbo-lspAdd to PATH
Add the Turbo binary to your shell's PATH so you can use it from anywhere:
# Add to ~/.bashrc, ~/.zshrc, or equivalent
export PATH="$HOME/Turbo-Language/turbo/target/release:$PATH"Verify Installation
turbolang --version
command -v turbo-lspYou should see the current version number from the CLI and confirm the LSP server binary is available for editors.
Editor Support
Install the Turbo VS Code extension for syntax highlighting, snippets, and LSP integration:
# Search "Turbo Language" in the VS Code Extensions panel
# Or install from the command line:
code --install-extension zvndev.turbo-lang