# Installation
Install the latest prebuilt Rho binary on macOS and Linux:
```bash
On Windows PowerShell:
```powershell
The macOS and Linux installer writes to `$HOME/.local/bin` by default. The Windows installer writes to `%LOCALAPPDATA%\Programs\rho\bin` and adds that directory to your user `PATH`.
To use a different directory, set `RHO_INSTALL_DIR`:
```bash
```powershell
$env:RHO_INSTALL_DIR = "$env:LOCALAPPDATA\Programs\rho\bin"; irm https://raw.githubusercontent.com/matthewyjiang/rho/main/scripts/install.ps1 | iex
```
To install a specific release, set `RHO_VERSION`. Accepted forms include `v0.9.0`, `0.9.0`, and the full release tag `rho-coding-agent-v0.9.0`:
```bash
```powershell
$env:RHO_VERSION = "v0.9.0"; irm https://raw.githubusercontent.com/matthewyjiang/rho/main/scripts/install.ps1 | iex
```
If a prebuilt binary is not available for your platform, install from crates.io with Cargo:
```bash
cargo install rho-coding-agent
```
Run Rho directly:
```bash
rho
```
If Cargo's bin directory is not on your `PATH`, add it before running the [interactive TUI](/interactive-tui) or [automation commands](/automation-cli):
```bash
export PATH="$HOME/.cargo/bin:$PATH"
```
Next, configure [authentication and models](/authentication-and-models).