Install SnowSQL, Snowflake’s command-line client, on macOS, Linux, or Windows and connect it to your data warehouse.
SnowSQL automates scripting, bulk loading, and CI/CD tasks that are tedious in the web interface while giving you full SQL access in any terminal.
SnowSQL offers signed installers for macOS (Intel/Apple Silicon), Windows 10/11, and popular Linux distros such as Ubuntu, CentOS, and Amazon Linux.
Run brew install --cask snowflake-snowsql
then confirm with snowsql -v
.Homebrew handles updates via brew upgrade
.
Download the package from the Snowflake UI, then install with sudo rpm -i snowflake-snowsql-*.x86_64.rpm
(RHEL, CentOS) or sudo dpkg -i snowflake-snowsql-*.amd64.deb
(Ubuntu, Debian).
Download SnowSQL-x.y.z.msi
, run the wizard, and tick “Add SnowSQL to PATH.” Verify in PowerShell with snowsql -v
.
Create a ~/.snowsql/config
file:
[connections]
accountname.snowflakecomputing.com=
user=
password=
warehouse=COMPUTE_WH
database=PRODUCTION
schema=PUBLIC
Run snowsql -a -u -q "SELECT current_version();"
to confirm your account credentials and network access.
Yes.Use COPY INTO
from an external stage or local files to populate Customers
, Orders
, and Products
tables quickly.
Store passwords in environment variables or use key-pair authentication. Avoid plaintext credentials in CI logs.
macOS: brew upgrade snowflake-snowsql
or brew uninstall snowflake-snowsql
. Linux: sudo rpm -U
/sudo dpkg -r
. Windows: remove via “Apps & Features.”
.
Yes on Windows and Linux RPM/DEB. Homebrew installs can work without sudo if Homebrew is in user space.
Create named connection profiles in ~/.snowsql/config
and call them with -c profile_name
.
Set https_proxy
and no_proxy
environment variables before running SnowSQL.