GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing dash.plotly.com — CLI | Plotly Dash CLI ConfigurationInstallationInstall the Plotly Cloud CLI with:
Verify the installation:
AuthenticationInteractive LoginFor local development, authenticate via browser:
This opens your browser to complete the login flow. Your credentials are stored locally and reused for subsequent commands. To check who you’re logged in as:
To log out:
API Key AuthenticationFor CI/CD and automated environments, use an API key instead:
Or set the
Project Configuration:
|
| Field | Description |
|---|---|
name |
The app name on Plotly Cloud. |
app_id |
Unique identifier for the app. Used by commands like app status. |
app_url |
The subdomain where the app is hosted (i.e., https://<app_url>.plotly.app). On first publish, this is assigned as a UUID. |
This file is how the CLI knows which app to operate on for commands like app status and subsequent publishes.
Important: Commit this file to version control so that CI/CD pipelines and collaborators deploy to the same app.
You can also point to a different config file with --config:
plotly app publish --config path/to/my-config.toml
On first publish, the CLI assigns a UUID as the app_url (e.g., 132b458c-b201-461d-a82c-f0c2fb905b44.plotly.app). On paid plans, you can set a human-readable URL by editing app_url in plotly-cloud.toml and re-publishing:
name = "my-app"
app_id = "94d0e2ff-189f-4b3a-846d-a846d52c43cb"
app_url = "my-app"
plotly app publish
The app becomes available at https://my-app.plotly.app. Custom URLs are not available on the free tier.
If you’re a member of multiple teams, specify the target team with --team. You can find the team name by running:
plotly user teams
Then pass it to publish:
plotly app publish --name my-app --team my-team-name
To update a published app, run plotly app publish again from the same project directory. The CLI reads app_id from plotly-cloud.toml and updates the existing app in place. You don’t need to pass --name again after the first publish.
Published apps are private by default. Only you and your team members can access the app URL. You can change visibility settings in Plotly Cloud.