# 使用 Homebrew, Nix, winget, apt 安装 snowflake-cli

查看 snowflake-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:snowflake-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snowflake-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#snowflake-cli
```

  证据: nixpkgs package indexes: pkgs/by-name/sn/snowflake-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install r-cran-snow
```

  证据: Debian stable package indexes: r-cran-snow from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- winget (92%):

```sh
winget install --id Snowflake.SnowflakeCLI -e
```

  证据: Windows Package Manager source index: Snowflake.SnowflakeCLI from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:snowflake-cli
- **软件包管理器:** Homebrew
- **版本:** 3.23.0
- **来源摘要:** CLI for snowflake
- **主页:** <https://docs.snowflake.com/developer-guide/snowflake-cli/index>
- **仓库:** <https://github.com/snowflakedb/snowflake-cli>
- **最后更新:** 2026-07-17T00:50:18Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- snow (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.23.0
## 项目历史与用法

Snowflake CLI is Snowflake's open-source `snow` command for developer-oriented Snowflake workflows as well as SQL operations. In package-manager terms it is the vendor-maintained replacement-class tool people install when Snowflake work moves from worksheets into scripts, projects, CI, and local terminals.

### 项目历史

The public GitHub repository was created in 2022 under Snowflake's own GitHub organization. Its README describes the tool as an open-source CLI explicitly designed for developer-centric workloads, including Streamlit in Snowflake, Snowflake Native App Framework, Snowpark Container Services, Snowpark, UDFs, stored procedures, and SQL execution.

Snowflake's documentation and release notes show the CLI as an actively versioned client tool. The official release stream reached the v3 series by 2026, with release notes documenting behavior changes, features, and fixes.

### 采用历史

Official installation paths include `uv`/PyPI-style Python tooling, a Snowflake Homebrew tap, and source builds from GitHub. The package-manager footprint in the input also lists Homebrew, Nix, and WinGet, which matches its role as a cross-platform developer CLI.

### 使用方式

Typical use is `snow` for creating, deploying, managing, and inspecting Snowflake applications and project resources, plus `snow sql` for executing queries from arguments, files, or stdin. In automation, Snowflake also publishes a GitHub Action that installs the CLI and can set up configuration under `~/.snowflake/`.

### 为什么软件包爱好者会关心

Package nerds care because this is a vendor CLI with real packaging surface area: Python packaging, Homebrew distribution, signed release artifacts, CI-friendly configuration files, and a fast-moving release cadence. It is a good example of a cloud data platform moving operational workflows into a normal Unix-style command.

### 时间线

- 2022: Public GitHub repository created under snowflakedb.
- 2024: Official release notes document the Snowflake CLI release stream.
- 2026: GitHub releases show v3.21.0 published with signed artifacts and CLI behavior updates.

### Related projects

- Related Snowflake tools include SnowSQL, Snowflake Connector for Python, the Snowflake VS Code extension, and snowflake-cli-action for GitHub Actions.

### 来源

- <https://docs.snowflake.com/en/developer-guide/snowflake-cli/index>
- <https://docs.snowflake.com/en/release-notes/clients-drivers/snowflake-cli-2024>
- <https://github.com/snowflakedb/snowflake-cli>
- <https://github.com/snowflakedb/snowflake-cli/releases>


## 安全说明

没有找到 snowflake-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- macOS: ~/Library/Application Support/snowflake/config.toml, ~/Library/Application Support/snowflake/connections.toml
- Unix: ~/.snowflake/config.toml, ~/.snowflake/connections.toml, ~/.config/snowflake/config.toml, ~/.config/snowflake/connections.toml

## Credential files

- macOS: ~/Library/Application Support/snowflake/config.toml, ~/Library/Application Support/snowflake/connections.toml
- Unix: ~/.snowflake/config.toml, ~/.snowflake/connections.toml, ~/.config/snowflake/config.toml, ~/.config/snowflake/connections.toml
## 其他软件包管理器记录

- Nix - snowflake-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/snowflake-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Snowflake.SnowflakeCLI: normalized package name match | Windows Package Manager source index: Snowflake.SnowflakeCLI from https://cdn.winget.microsoft.com/cache/source.msix
- Debian apt - r-cran-snow - 1:0.4.4-2: installed executable or alias match | Debian stable package indexes: r-cran-snow from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU R package for 'simple network of workstations' | https://cran.r-project.org/package=snow
- Nix - snow: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/sn/snow/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - r-cran-snow - 1:0.4.4-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: r-cran-snow from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU R package for 'simple network of workstations' | https://cran.r-project.org/package=snow


## Combined YAML source

View the package source record on GitHub. [combined/snowflake-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snowflake-cli.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
