This guide walks you through installing Andromeda on your system.
Prerequisites
Pre-built binaries do not require any tooling — just curl, irm, or winget.
To build from source you need:
- Rust (the pinned nightly toolchain from
rust-toolchain.toml, picked up automatically by rustup) - Git
Quick Install
Linux / macOS
curl -fsSL https://tryandromeda.dev/install.sh | bashOr download and run manually:
wget https://tryandromeda.dev/install.sh
chmod +x install.sh
./install.shWindows (PowerShell)
irm -Uri "https://tryandromeda.dev/install.ps1" | Invoke-ExpressionWindows (CMD)
curl -L -o install.bat https://tryandromeda.dev/install.bat && install.batOther Installation Methods
Install with winget (Windows)
winget install --id Andromeda.AndromedaInstall from Git with Cargo
cargo install --git https://github.com/tryandromeda/andromeda andromedaThis downloads the latest source, compiles with --release, and installs the
andromeda binary to your Cargo bin directory.
Build from Source
For development or to enable optional features:
Clone the repository:
git clone https://github.com/tryandromeda/andromeda.git cd andromeda
Build the project:
cargo build --release
Install from the local checkout:
cargo install --path crates/cli
See the Building from Source guide for feature flags and satellite binaries.
Verify Installation
andromeda --version
# Start the REPL (the default with no arguments)
andromeda repl
# Run a quick test
echo 'console.log("Hello, Andromeda!");' > test.ts
andromeda run test.tsTip: Running
andromeda foo.ts(norunsubcommand) is shorthand forandromeda run foo.ts— the CLI auto-detects.tsfiles as the first argument.
Setting Up Your Environment
Adding to PATH
Cargo installs binaries to ~/.cargo/bin on Unix and %USERPROFILE%\.cargo\bin
on Windows. Ensure this directory is on your PATH.
Linux / macOS
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcWindows
Add %USERPROFILE%\.cargo\bin to PATH via:
- System Properties → Advanced → Environment Variables
- Edit the
Pathuser variable - Add the Cargo bin directory
Shell Completion
Andromeda generates completions for bash, zsh, fish, and PowerShell.
# Auto-detect your shell
andromeda completions
# Bash
andromeda completions bash > ~/.local/share/bash-completion/completions/andromeda
# Zsh
andromeda completions zsh > ~/.zfunc/_andromeda
# Fish
andromeda completions fish > ~/.config/fish/completions/andromeda.fish
# PowerShell
andromeda completions powershell > andromeda.ps1Platform Support
Windows
- Windows 10 / 11 (x86_64)
- PowerShell, Command Prompt, and WSL
- Available via winget
macOS
- macOS 10.15+ (Catalina and later)
- Apple Silicon (arm64) and Intel (x86_64)
Linux
- x86_64 and ARM64
- Most distributions (Ubuntu, Debian, Fedora, Arch, etc.)
Updating Andromeda
Andromeda includes a built-in upgrade command:
# Upgrade to the latest version
andromeda upgrade
# Preview without applying
andromeda upgrade --dry-run
# Force reinstall
andromeda upgrade --force
# Upgrade to a specific version
andromeda upgrade --version 0.1.10The upgrade command downloads the matching prebuilt binary from GitHub Releases and replaces the running binary safely.
Manual update via Cargo
cargo install --git https://github.com/tryandromeda/andromeda --forceTroubleshooting
andromeda: command not found
Ensure ~/.cargo/bin (or the install location) is on your PATH and restart your
terminal.
Build failures on installation
- Update Rust:
rustup update - Clear the cargo cache:
cargo clean - Retry with
--force
Permission errors
- On Unix, ensure write permissions to your install directory
- On Windows, run the install script in an elevated shell if needed
For more, see the Troubleshooting Guide.
Next Steps
- Read the Quick Start Guide
- Browse the CLI Reference
- Configure your project with andromeda.json
- Join the Discord community