# Installing the CLI

Install the Foxora CLI on macOS, Linux, or Windows, then provision its runtime on first use.

## macOS and Linux

```bash
curl -fsSL https://foxora.ai/install-cli.sh | sh
```

Open a new terminal after installation so your updated `PATH` is available.

## Windows

Run the installer from PowerShell:

```powershell
irm https://foxora.ai/install.ps1 | iex
```

Open a new PowerShell window after the installer finishes.

## Verify and provision

```bash
foxora --version
foxora setup
foxora login
foxora doctor
```

The documentation targets CLI v5.0.3. `foxora --version` reports the version actually installed on your machine, and `foxora update` installs a newer release when one is available.

> **Install safely:** Use only the scripts served from `https://foxora.ai`. If you want to inspect a script first, download or print it before piping it to your shell.
