# 使用 Homebrew, chocolatey 安装 sui

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

## 安装

```sh
sudo av install brew:sui
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sui
```

  证据: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install sui
```

  证据: Chocolatey community package catalog: sui from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.736','dotnet-5.0-sdk-3xx'

## 软件包事实

- **软件包键:** brew:sui
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sui>
- **版本:** 1.76.1
- **来源摘要:** Next-generation smart contract platform powered by the Move programming language
- **主页:** <https://sui.io>
- **仓库:** <https://github.com/MystenLabs/sui>
- **上游文档:** <https://sui.io>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/MystenLabs/sui/archive/refs/tags/testnet-v1.76.1.tar.gz>
- **最后更新:** 2026-07-28T21:44:43Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sui (cli)
- sui (别名)

## 构建依赖

- cmake
- libpq
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.76.1
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/MystenLabs/sui
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Sui is a Move-based blockchain platform, and the Homebrew package primarily matters to developers because it ships the `sui` CLI. In package-manager terms, it is a toolchain package: users install it to build, publish, test, and operate against Sui networks from a terminal.

### 项目历史

Official Sui posts describe public Devnet in May 2022, Testnet Wave 1 later in 2022, and public Mainnet launch on May 3, 2023. The documentation presents Sui as an object-oriented smart-contract platform using Sui Move packages as the unit of published code.

### 采用历史

Sui's own Mainnet anniversary posts report launch with more than 100 validators and more than 400 nodes, and the Homebrew input records Sui in Homebrew and Chocolatey. For package managers, the adoption signal is that blockchain developers expect a normal OS-level CLI rather than only a web wallet or SDK.

### 使用方式

The Sui docs cover building and publishing Move packages, managing package dependencies, constructing programmable transaction blocks with `sui client ptb`, and using local configuration and keystore files. The CLI is therefore both a developer tool and an operational wallet/key-management surface.

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

Package nerds care about Sui because it packages a fast-moving blockchain toolchain into conventional system package channels. That creates the usual packaging tensions: frequent upstream releases, network-specific config, keystore handling, reproducible builds, and compatibility between CLI, protocol, and Move package workflows.

### 时间线

- 2022: Sui Devnet is publicly released.
- 2022: Sui Testnet Wave 1 goes live after Devnet.
- 2023: Sui Mainnet launches publicly on May 3.
- 2023: Official docs describe Move packages as immutable published on-chain code units.
- 2024: Sui developer roadmap discusses CLI command consolidation for local-network workflows.

### Related projects

- Sui is related to the Move language ecosystem, Sui Move packages, Sui Explorer, and the `sui client ptb` programmable transaction block workflow documented by Sui.

### 来源

- Input package-manager data: source_facts.package-manager
- Official CLI PTB docs: https://docs.sui.io/references/cli/ptb
- Official Mainnet anniversary post: https://blog.sui.io/mainnet-anniversary-milestones-innovation/
- Official Move package docs: https://docs.sui.io/develop/write-move/package-overview
- Official Sui Devnet post: https://blog.sui.io/sui-devnet-public-release/
- Official docs: https://docs.sui.io/
- Official package management docs: https://docs.sui.io/develop/manage-packages/move-package-management


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## 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

- Unix: $SUI_CONFIG_DIR/client.yaml, ~/.sui/sui_config/client.yaml

## Credential files

- Unix: $SUI_CONFIG_DIR/sui.keystore, ~/.sui/sui_config/sui.keystore
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sui
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Chocolatey - sui: normalized package name match | Chocolatey community package catalog: sui from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.736','dotnet-5.0-sdk-3xx'


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [libpq](https://pkg.so/zh-hans/brew/libpq/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [near](https://pkg.so/zh-hans/brew/near/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, smart-contracts, web3.
- [solana](https://pkg.so/zh-hans/brew/solana/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, web3.
- [aptos](https://pkg.so/zh-hans/brew/aptos/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [stellar-cli](https://pkg.so/zh-hans/brew/stellar-cli/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [clarinet](https://pkg.so/zh-hans/brew/clarinet/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [anchor](https://pkg.so/zh-hans/brew/anchor/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools, smart-contracts.
- [foundry](https://pkg.so/zh-hans/brew/foundry/) - Shares pkgdb curated category or tags: cli, developer-tools, smart-contracts.
- [ignite](https://pkg.so/zh-hans/brew/ignite/) - Shares pkgdb curated category or tags: blockchain, cli, developer-tools.
- [aiken](https://pkg.so/zh-hans/brew/aiken/) - Local package facts share a topical domain. Shared terms: cli, contract, contracts, developer, developer-tools.

## Combined YAML source

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


## 来源

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