Skip to main content

Snowflake CLI

Project description

Code quality checks Integration testing CLI Action testing

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 pip (PyPi)

Requires Python >= 3.8

pip 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.8 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

snowflake_cli_labs-2.6.0.dev0.tar.gz (536.4 kB view details)

Uploaded Source

Built Distribution

snowflake_cli_labs-2.6.0.dev0-py3-none-any.whl (314.2 kB view details)

Uploaded Python 3

File details

Details for the file snowflake_cli_labs-2.6.0.dev0.tar.gz.

File metadata

File hashes

Hashes for snowflake_cli_labs-2.6.0.dev0.tar.gz
Algorithm Hash digest
SHA256 c3dda97de9a5f12066b6b359f2f8a6d85cea9acbc08549e4fdbecdb0e7a7d938
MD5 d30397c25a45827272386f0c5a2f4225
BLAKE2b-256 4576786abb733a287058afa653534647b2d315828c813b6cea4b856ad36563c5

See more details on using hashes here.

File details

Details for the file snowflake_cli_labs-2.6.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for snowflake_cli_labs-2.6.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae1ba2041243ee3f171d9f7669bec09b765feb918b8463a7a3332ad1147bf87
MD5 c529b5625f5a24b5f0a0a3ac8acbff0b
BLAKE2b-256 03ed6c08f7e84cb46e131bc9cdd1f30280c4e3d7b12ec1fa32b7ef4ca4503331

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page