using-streamlit-cli

Run Streamlit apps and configure runtime options via the Streamlit CLI.

224|23|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/streamlit/agent-skills --skill using-streamlit-cli-streamlit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-streamlit-cli
Source: https://github.com/streamlit/agent-skills/tree/main/developing-with-streamlit/skills/using-streamlit-cli
Command: npx skills add https://github.com/streamlit/agent-skills --skill using-streamlit-cli-streamlit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines using the Streamlit CLI to run apps, configure runtime options, and diagnose issues.

Core Features & Use Cases

  • Running apps with streamlit run and related commands for module-based workflows.
  • Configuring runtime options via command-line flags, environment variables, or config files.
  • Diagnostics and help commands to verify installation, view docs, and access example demos.

Quick Start

Run a basic app with streamlit run app.py to start a local server.

Frequently Asked Questions about using-streamlit-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a Streamlit app from the command line?

Use the Streamlit CLI command `streamlit run app.py` to start a local server and launch your application. This approach streamlines running module-based workflows for local development and deployment scenarios.

How does Streamlit configuration precedence work between flags, environment variables, and config files?

Streamlit configuration allows you to set runtime options via command-line flags, environment variables, or config files. Understanding this precedence ensures reliable app behavior across different deployment scenarios.

Can I use Streamlit CLI commands for diagnostics and troubleshooting?

Yes, the Streamlit CLI provides diagnostics and help commands to verify your installation, view documentation, and access example demos for troubleshooting workflows within your projects.

What is the best way to configure Streamlit runtime options for local development?

The best way to configure Streamlit runtime options is by using command-line flags, environment variables, or config files. This flexibility allows quick configuration adjustments during local development.

Why is my Streamlit run command not working during local app deployment?

If your Streamlit run command is not working, use the CLI diagnostics and help commands to verify your installation and view documentation. Proper configuration precedence and troubleshooting workflows can resolve common runtime issues.