# 使用 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
- **版本:** 1.76.1
- **来源摘要:** Next-generation smart contract platform powered by the Move programming language
- **主页:** <https://sui.io>
- **仓库:** <https://github.com/MystenLabs/sui>
- **最后更新:** 2026-07-28T21:44:43Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sui (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
