CLI Installation
How to install the Python-based Shuttle Command Line Interface (CLI) using uv.
Last updated
How to install the Python-based Shuttle Command Line Interface (CLI) using uv.
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 shuttle package to your project's dependencies.
uv init
uv add shuttle-cobraRun Shuttle Commands:
Execute Shuttle commands using uv run -m shuttle to 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 shuttle script.
shuttle deploy
shuttle logs
shuttle localLast updated