# Installation ## Requirements - **Must have:** [Docker](https://docs.docker.com/get-docker/) with Compose v2. - **Optional**, each only for its task: - A coding agent that runs in your terminal, such as Claude Code or Codex, to [convert an existing workflow](guides/CONVERT_WORKFLOW.md). - An AWS account, to deploy on [EC2](guides/EC2.md). - `kubectl` set to a cluster running the CanyonOS operator, to deploy on [Kubernetes](guides/KUBERNETES.md). A local cluster also needs [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start/#installation). ## Install ```bash uv tool install canyonos # recommended ``` That works on macOS, Linux and Windows, and `canyonos upgrade` can update it later. ### Other ways to install If you don't use uv, pick one of these instead:
Works on any OS with Python 3.10 or newer. ```bash pip install canyonos ```
Works on macOS and Linux. ```bash brew tap CanyonCodeCoreAI/canyonos https://github.com/CanyonCodeCoreAI/canyonos brew trust --formula CanyonCodeCoreAI/canyonos/canyonos brew install canyonos ```
Works on macOS and Linux. ```bash curl -fsSL https://raw.githubusercontent.com/CanyonCodeCoreAI/canyonos/main/packages/cli/install.sh | sh ```
## Check the install ```bash canyonos --version ``` ## Check your machine ```bash canyonos doctor ``` It checks that Docker is installed, that it's running, and that it has Compose v2. If a check fails, it tells you how to fix it. **Estimated time:** about 2 minutes for the install and `canyonos doctor`, with Docker already installed. ## Next Once `canyonos doctor` passes, [Start from scratch](guides/FROM_SCRATCH.md) builds and deploys your first workflow, step by step. To bring an app built with another framework, see [Convert an existing workflow](guides/CONVERT_WORKFLOW.md). For a guided first run with a ready-made workflow, run `canyonos quickstart`. ## Upgrade ```bash canyonos upgrade # if you installed with uv; otherwise it prints the command to run ``` The [release notes](https://github.com/CanyonCodeCoreAI/canyonos/releases) list what changed in each release. ## Uninstall ```bash canyonos clean --all # remove every workflow group and everything CanyonOS added uv tool uninstall canyonos # or pip uninstall, brew uninstall rm ~/.local/bin/canyonos # if you used the install script ``` `clean --all` asks before it deletes anything; add `-y` to skip the question in a script.