Snowflake CLI
Project description
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.
Note: Snowflake CLI is in Public Preview (PuPr).
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
Install Snowflake CLI
Install with pipx (PyPi)
We recommend installing Snowflake CLI in isolated environment using pipx. Requires Python >= 3.10
pipx install snowflake-cli-labs
snow --help
Install with Homebrew (Mac only)
Requires Homebrew.
brew tap snowflakedb/snowflake-cli
brew install snowflake-cli
snow --help
Install from source
Requires Python >= 3.10 and git
git 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file snowflake_cli_labs-3.0.0rc2.tar.gz
.
File metadata
- Download URL: snowflake_cli_labs-3.0.0rc2.tar.gz
- Upload date:
- Size: 650.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f3f62cd0e045b617a5c0cec662343b2728fe5315a1966357bfc9bde6791a871 |
|
MD5 | 25b6324fcabe3e887fe63620519ceb6a |
|
BLAKE2b-256 | dbef383367bb896e494530e712b03260c75650413063c83d31a4f715a2f1324b |
File details
Details for the file snowflake_cli_labs-3.0.0rc2-py3-none-any.whl
.
File metadata
- Download URL: snowflake_cli_labs-3.0.0rc2-py3-none-any.whl
- Upload date:
- Size: 379.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15b48f1e1f94cfe49437f3f94c0b00a1b43d8abdb41fc6e8024ee0a7638bb39 |
|
MD5 | 9c24269bc17c292da1c38ae7bdb0db99 |
|
BLAKE2b-256 | e97ce2dee3fc98eaa0dff015a33590cc24b3e3eb80764f204ece52b00296993c |