Command-line interface
When you install Streamlit, a command-line (CLI) tool gets installed as well. The purpose of this tool is to run Streamlit apps, change Streamlit configuration options, and help you diagnose and fix issues.
Available commands
streamlit cache clear
: Clear the on-disk cache.
streamlit config show
: Show all configuration options.
streamlit docs
: Open the Streamlit docs.
streamlit hello
: Run an example Streamlit app.
streamlit help
: Show the available CLI commands.
streamlit init
: Create the files for a new Streamlit app.
streamlit run
: Run your Streamlit app.
streamlit version
: Show the version of Streamlit.