What problem does it solve?
Streamlit's command-line options and environment differences can be confusing when launching apps, configuring runtime behavior, or diagnosing issues; this Skill consolidates the essential CLI commands and configuration guidance to make starting, configuring, and troubleshooting Streamlit apps faster and more reliable.
Core Features & Use Cases
- Run Apps: Guidance for running entrypoints by file, directory, or remote URL and an IDE-friendly alternative using python -m streamlit run.
- Configuration Management: How to pass server and theme settings via command-line flags, environment variables, and persistent .streamlit/config.toml with precedence rules.
- Diagnostics & Maintenance: Commands for viewing configuration, clearing cache, checking version, and opening docs, plus recommendations for reproducible environments using uv run.
- Use Case: Launch a development instance of app.py with hot-reload for iterative UI development, or run a production containerized app with explicit server settings and diagnostics enabled.
Quick Start
Start the Streamlit app app.py on port 8080 in headless mode using uv run and enable server.runOnSave.