CLI Installation
How to install the Python-based Shuttle Command Line Interface (CLI) using uv.
Using Shuttle within your projects
For managing dependencies and running Shuttle commands within your projects, it is recommended to use uv directly.
Create a Virtual Environment:
Navigate to your project directory and create a virtual environment with
uv.uv venv source .venv/bin/activateAdd Shuttle Dependency:
Add the
shuttlepackage to your project's dependencies.uv init uv add shuttle-cobraRun Shuttle Commands:
Execute Shuttle commands using
uv run -m shuttleto ensure they run within your project's isolated environment.uv run -m shuttle deploy uv run -m shuttle logs uv run -m shuttle localAlternatively, if you are activated in your virtual environment, you can use the
shuttlescript.shuttle deploy shuttle logs shuttle local
Last updated