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.
To see all of the supported commands:
Run Streamlit apps
streamlit run your_script.py [-- script args]
Runs your app. At any time you can stop the server with Ctrl+c.
When passing your script some custom arguments, they must be passed after two dashes. Otherwise the arguments get interpreted as arguments to Streamlit itself.
To see the Streamlit 'Hello, World!' example app, run
View Streamlit version
To see what version of Streamlit is installed, just type:
Opens the Streamlit documentation (i.e. this website) in a web browser.
streamlit cache clear
Clears persisted files from the on-disk Streamlit cache, if present.
View all configuration options
As described in Configuration, Streamlit has several configuration options. To view them all, including their current values, just type:
streamlit config show
Still have questions?
Our forums are full of helpful information and Streamlit experts.