The Posit Connect command-line interface.
uv tool install rsconnect-python
pipx install rsconnect-python
python -m pip install rsconnect-python
Get an API key from your Posit Connect server with at least publisher privileges:
Store your credentials:
rsconnect add --server https://connect.example.com --api-key <YOUR-CONNECT-API-KEY> --name production
Deploy your application:
rsconnect deploy shiny app.py --title "my shiny app"
Read more about publisher and admin capabilities on the docs site.