> This page is for version v2.
> For other versions, use one of these documentation indexes:
> - v1 (default): https://doc.youratlas.com/v1/llms.txt
> - v2: https://doc.youratlas.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://doc.youratlas.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://doc.youratlas.com/_mcp/server.

# Install the Atlas CLI

Install the Atlas CLI with one command: the install script on macOS and Linux, or the PowerShell script on Windows. Then check it with `atlas --version`.

## Install

macOS and Linux:

```bash
curl -fsSL https://cdn.youratlas.com/atlas-cli/install.sh | bash
```

Windows PowerShell:

```powershell
irm https://cdn.youratlas.com/atlas-cli/install.ps1 | iex
```

Windows Command Prompt:

```cmd
curl -fsSL https://cdn.youratlas.com/atlas-cli/install.cmd -o install.cmd && install.cmd && del install.cmd
```

On Windows, use PowerShell or Command Prompt. The macOS and Linux installer stops with a message if you run it in Git Bash. It needs `curl` or `wget`.

The installer:

1. Finds your operating system and chip.
2. Downloads the right program.
3. Checks its SHA-256 checksum. If the checksum doesn't match, it stops. If it can't find a checksum for your system, or your computer has no SHA-256 tool, it prints a warning and carries on. Read the output.
4. Puts it in `~/.atlas/bin/atlas`. On Windows it goes to `%USERPROFILE%\.atlas\bin\atlas.exe`.
5. Adds that folder to your PATH.
6. Sets up tab completion for your shell. The Command Prompt installer skips this step.

Open a new terminal when it finishes.

## Supported systems

| System  | Chip          | Program                   |
| ------- | ------------- | ------------------------- |
| macOS   | Apple silicon | `atlas-darwin-arm64`      |
| macOS   | Intel         | `atlas-darwin-x64`        |
| Linux   | x64           | `atlas-linux-x64`         |
| Linux   | ARM64         | `atlas-linux-arm64`       |
| Windows | x64           | `atlas-windows-x64.exe`   |
| Windows | ARM64         | `atlas-windows-arm64.exe` |

32-bit systems are not supported.

## Check it worked

```bash
atlas --version
```

It prints the version, for example `atlas version v1.5.0`.

## Install by hand

Download the program for your system from `https://cdn.youratlas.com/atlas-cli/releases/<version>/`. The latest version number is in `https://cdn.youratlas.com/atlas-cli/releases/latest.txt`. Each version folder also has a `checksums.txt` file to check your download against.

```bash
# Find the latest version, for example v1.5.0
curl -fsSL https://cdn.youratlas.com/atlas-cli/releases/latest.txt

# Download the program and the checksums (replace v1.5.0 and the program name)
curl -fsSL https://cdn.youratlas.com/atlas-cli/releases/v1.5.0/atlas-darwin-arm64 -o atlas-darwin-arm64
curl -fsSL https://cdn.youratlas.com/atlas-cli/releases/v1.5.0/checksums.txt -o checksums.txt

# Check the download. Look for "atlas-darwin-arm64: OK"
grep ' atlas-darwin-arm64$' checksums.txt | shasum -a 256 -c

# Make it executable and put it on your PATH
chmod +x atlas-darwin-arm64
sudo mv atlas-darwin-arm64 /usr/local/bin/atlas

# Check it
atlas --version
```

On Linux, use `sha256sum -c` in place of `shasum -a 256 -c`.

## Update

Run:

```bash
atlas update
```

The CLI also checks for a new version at most once an hour when you run a command in a terminal. If there is one, it updates itself and prints `Updating Atlas: ...` on `stderr`. It skips this check in CI, when `ATLAS_NO_UPDATE` is set to `1` or `true`, when you pipe the output, and with `--no-update`. Running the install command again also gives you the latest version.

## Uninstall

macOS and Linux:

```bash
rm -rf ~/.atlas
```

Then remove the lines the installer added to your shell profile (`~/.zshrc`, `~/.bashrc`, `~/.bash_profile` or `~/.config/fish/config.fish`). They add the PATH folder and tab completion. On fish, also delete `~/.config/fish/completions/atlas.fish`.

Windows: delete the `%USERPROFILE%\.atlas` folder and remove `%USERPROFILE%\.atlas\bin` from your user PATH. In PowerShell, also remove the `atlas completion powershell` line from your profile.

`~/.atlas` also holds your saved keys. Removing it signs you out of every profile.

## Next

* [Authentication](/v2/developers/cli/authentication)
* [Commands](/v2/developers/cli/commands)