Snowflake cli
Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations.
[//]: # ([](https://www.python.org/downloads/release/python-311/)) The project is written primarily in Python, distributed under the Apache License 2.0 license, first published in 2022. Key topics include: cli, data-ops, devops-tools, snowflake, sql.
Snowflake CLI
Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations. It is a flexible and extensible tool that can accommodate modern development practices and technologies.
With Snowflake CLI, developers can create, manage, update, and view apps running on Snowflake across workloads such as Streamlit in Snowflake, the Snowflake Native App Framework, Snowpark Container Services, and Snowpark. It supports a range of Snowflake features, including user-defined functions, stored procedures, Streamlit in Snowflake, and SQL execution.
Docs: https://docs.snowflake.com/en/developer-guide/snowflake-cli-v2/index.
Quick start: https://quickstarts.snowflake.com/guide/getting-started-with-snowflake-cli
Cheatsheet: https://github.com/Snowflake-Labs/sf-cheatsheets/blob/main/snowflake-cli.md
Feel free to file an issue or submit a PR here for general cases. For official support, contact Snowflake support at: https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge
Install Snowflake CLI
Install with uv (PyPi)
We recommend installing Snowflake CLI in an isolated environment using uv. Requires Python >= 3.10
bashuv tool install snowflake-cli snow --help
Or, with a single command
bashuvx --from snowflake-cli snow --help
Install with Homebrew (Mac only)
Requires Homebrew.
bashbrew tap snowflakedb/snowflake-cli brew install snowflake-cli snow --help
Install from source
Requires Python >= 3.10 and git
bashgit clone https://github.com/snowflakedb/snowflake-cli cd snowflake-cli # you can also do the below in an active virtual environment: # python -m venv .venv # source .venv/bin/activate hatch build && pip install . snow --version
You should now be able to run snow and get the CLI message.
Get involved
Have a feature idea? Running into a bug? Want to contribute? We'd love to hear from you!
Please open or review issues, open pull requests, or reach out to us on developers@snowflake.com
See CONTRIBUTING.md for development setup and contribution guidelines.
Contributors
Showing top 12 contributors by commit count.
