CLI Reference

This is the reference for the modal command-line interface, installed alongside the modal Python package.

Commands 

modal curlSend an authenticated request to a Modal endpoint.
modal deployDeploy a Modal application.
modal serveExpose Web Functions with hot-reloading on code changes.
modal shellRun a command or interactive shell inside a Modal container.
modal runRun a Modal function or local entrypoint.

Deployments 

modal appManage deployed and running apps.
modal containerManage and connect to running containers.
modal endpointCreate and manage LLM inference endpoints.

Storage 

modal imageManage Images.
modal dictManage modal.Dict objects and inspect their contents.
modal secretManage secrets.
modal queueManage modal.Queue objects and inspect their contents.
modal volumeRead and edit modal.Volume volumes.

Onboarding 

modal setupBootstrap Modal’s configuration.
modal bootstrapInitialize a sample Modal App.

Configuration 

modal workspaceInteract with the current Modal Workspace.
modal environmentCreate and interact with Environments
modal profileSwitch between Modal profiles.
modal configManage client configuration for the current profile.
modal tokenManage tokens.
modal skillsInstall and update Modal’s agent skills.

Observability 

modal billingView workspace billing information.
modal changelogFetch release notes from the Modal changelog.
modal dashboardOpen the Modal Dashboard in a web browser.