using-streamlit-cli

Run and configure Streamlit apps via CLI with diagnostics.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/Mahaboob26/NEXUS-TRUSAI --skill using-streamlit-cli-mahaboob26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-streamlit-cli
Source: https://github.com/Mahaboob26/NEXUS-TRUSAI/tree/main/.agents/skills/developing-with-streamlit/skills/using-streamlit-cli
Command: npx skills add https://github.com/Mahaboob26/NEXUS-TRUSAI --skill using-streamlit-cli-mahaboob26

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlit developers often struggle to manage app execution, configuration, and troubleshooting. This skill consolidates the most common CLI commands to run apps, configure runtime options, manage caches, and diagnose issues.

Core Features & Use Cases

  • Run apps easily: Streamlit run with various entrypoints, including files, directories, or URLs, plus optional environment tweaks.
  • Configure runtime: Use CLI flags and recommended .streamlit/config.toml settings to enforce consistent behavior across environments.
  • Diagnostics & troubleshooting: Access help, version, docs, and cache management to resolve common problems quickly.

Quick Start

Use the streamlit CLI to start an app: for example, streamlit run app.py with optional server options, or uv run streamlit run app.py with a configuration.

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?

You can run a Streamlit app by executing the `streamlit run` command with your app file, directory, or URL as the entrypoint. Optional environment tweaks and server options can be passed directly through CLI flags.

What is the best way to configure Streamlit runtime options consistently across environments?

To configure Streamlit runtime options consistently, use a combination of CLI flags and recommended settings in the `.streamlit/config.toml` file. This ensures uniform behavior across local development and CI workflows.

How does Streamlit CLI help with diagnosing app issues and troubleshooting?

The Streamlit CLI helps with diagnosing issues by providing commands to access help, version info, docs, and cache management. These tools allow developers to quickly resolve common runtime problems and clear stale caches.

Can I use Streamlit CLI commands in CI workflows and onboarding scenarios?

Yes, you can use Streamlit CLI commands in CI workflows and onboarding scenarios. The CLI provides consistent execution and environment handling, allowing automated pipelines to run apps and diagnose issues reliably.

Why is my Streamlit configuration not applying when I run the app?

Your Streamlit configuration may not apply if CLI flags override `.streamlit/config.toml` settings or if the file is misplaced. Ensure your config file is correctly located and use CLI flags to enforce specific runtime options.

Do I need uv to run Streamlit apps via the command line?

No, you do not need `uv` to run Streamlit apps, but you can use `uv run streamlit run app.py` if you prefer. Standard execution using `streamlit run app.py` works perfectly for local development and CI workflows.