# Download Oscar

Oscar ships as prebuilt binaries for macOS, Linux, and Windows.

macOS and Linux:

```bash
curl -fsSL https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-install.sh | bash
```

Windows PowerShell:

```powershell
$script = Join-Path $env:TEMP "oscar-install.ps1"
Invoke-WebRequest https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-install.ps1 -OutFile $script
powershell -NoProfile -ExecutionPolicy Bypass -File $script
```

## After Install

Set up model access, then launch Oscar in the terminal:

macOS and Linux:

```bash
export ANTHROPIC_API_KEY="sk-ant-..."
oscar
```

Windows PowerShell:

```powershell
$env:ANTHROPIC_API_KEY = "sk-ant-..."
oscar
```

If you use AWS Bedrock instead:

```bash
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-east-1
oscar
```

## Direct Downloads

These are standalone binaries. Download the one for your platform, make it executable, and move it onto your `PATH`.

| Platform            | Download                                                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| macOS Apple Silicon | [oscar-macos-arm64](https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-macos-arm64)         |
| macOS Intel         | [oscar-macos-x64](https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-macos-x64)             |
| Linux x64           | [oscar-linux-x64](https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-linux-x64)             |
| Linux ARM64         | [oscar-linux-arm64](https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-linux-arm64)         |
| Windows x64         | [oscar-windows-x64.exe](https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-windows-x64.exe) |

### macOS

Download the binary, make it executable, and place it on your `PATH`:

```bash
# Apple Silicon
curl -fsSL https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-macos-arm64 -o oscar

# Intel
# curl -fsSL https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-macos-x64 -o oscar

chmod +x oscar
mkdir -p "${HOME}/.local/bin"
mv oscar "${HOME}/.local/bin/oscar"
```

If `~/.local/bin` is not already on your `PATH`, add it to your shell config (e.g. `~/.zshrc`):

```bash
export PATH="$HOME/.local/bin:$PATH"
```

If macOS blocks the binary because it was downloaded from the internet:

```bash
xattr -d com.apple.quarantine "${HOME}/.local/bin/oscar"
```

### Linux

```bash
# x64
curl -fsSL https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-linux-x64 -o oscar

# ARM64
# curl -fsSL https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-linux-arm64 -o oscar

chmod +x oscar
mkdir -p "${HOME}/.local/bin"
mv oscar "${HOME}/.local/bin/oscar"
```

If `~/.local/bin` is not already on your `PATH`, add it to your shell config (e.g. `~/.bashrc`):

```bash
export PATH="$HOME/.local/bin:$PATH"
```

### Windows

Download [`oscar-windows-x64.exe`](https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/oscar-windows-x64.exe), optionally rename it to `oscar.exe`, and place it in a directory on your `PATH`.

Run it from PowerShell or Command Prompt:

```powershell
oscar
```

Note: the Windows binary is not Authenticode-signed yet, so SmartScreen may warn on first launch.

## Verify Downloads

Oscar publishes a checksum manifest with every release:

```bash
curl -fsSL https://github.com/TheRealOpsCanvas/public/releases/download/oscar-latest/checksums.txt
```

Use it to verify any binary or installer you download manually.
