# 使用 Homebrew, zypper 安装 cadence

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

## 安装

```sh
sudo av install brew:cadence
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cadence
```

  证据: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install Cadence
```

  证据: openSUSE Tumbleweed package metadata: Cadence from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:cadence
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cadence>
- **版本:** 1.10.4
- **来源摘要:** Resource-oriented smart contract programming language
- **主页:** <https://cadence-lang.org/>
- **仓库:** <https://github.com/onflow/cadence>
- **上游文档:** <https://cadence-lang.org/docs>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/onflow/cadence/archive/refs/tags/v1.10.4.tar.gz>
- **最后更新:** 2026-07-02T17:43:08Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cadence (cli)
- cadence (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.10.4
- 管理器更新时间: 2026-07-02
- 本地数据: OK
- 上游仓库: https://github.com/onflow/cadence
- 检测到的最新版本: v1.10.4 (当前)
## 项目历史与用法

Cadence is the resource-oriented smart contract language for the Flow network. It is designed around static typing, linear-resource ownership, capability-based access control, preconditions and postconditions, and readability for audit-heavy blockchain programs.

### 项目历史

The Cadence repository says the language has been open source since 2019 and is the native smart contract language of Flow. Official docs present it as a high-level language created to make digital assets first-class resources: values can be moved but not accidentally copied, lost, or implicitly destroyed.

Cadence draws syntax and safety ideas from Swift, Kotlin, Rust, TypeScript, Solidity, Move, and design-by-contract traditions while targeting Flow's account-storage model. The v1.0.0 release states that Cadence 1.0 culminated five years of work since inception, with no more planned breaking changes, full forward compatibility, entitlements, attachments, and storage/performance improvements.

### 采用历史

Cadence adoption follows Flow adoption: developers use it to write and deploy Flow smart contracts, transactions, and scripts. The README points users to the browser playground, Flow CLI, Flow emulator, VS Code extension, Cadence language reference, and Flow developer portal.

Flow ecosystem examples in the README include consumer applications such as NBA Top Shot, NFL All Day, Disney Pinnacle, and Ticketmaster NFT ticketing, making Cadence notable as a domain-specific package for production blockchain applications rather than a general-purpose language runtime.

### 使用方式

Package users typically install the cadence command to run, parse, test, or work with Cadence code locally, while end-to-end Flow development usually also involves Flow CLI, the emulator, contracts, transactions, and the Cadence Playground. The language itself is used for smart contracts and transaction code stored and executed on Flow.

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

Cadence is interesting to package nerds because it packages a language implementation for a blockchain runtime, not just a compiler. It brings together parser, interpreter/runtime, language server and tooling expectations, versioned language migrations, and network compatibility concerns around Flow's on-chain execution model.

### 时间线

- 2019: Cadence is open sourced and begins as Flow's resource-oriented smart contract language.
- 2022: v0.24 Secure Cadence becomes a major pre-1.0 milestone referenced by the v1.0 release.
- 2024-09-26: Cadence v1.0.0 is released, marking no more planned breaking changes.
- 2026: README reports Cadence 1.0 live on Flow mainnet with v1.10.x releases.

### Related projects

- Related projects include the Flow network, Flow CLI, Flow emulator, Cadence Playground, the VS Code Cadence extension, Atree storage library, and Flow Improvement Proposals. Conceptually, Cadence is often compared with Solidity and Move.

### 来源

- <https://cadence-lang.org/docs>
- <https://cadence-lang.org/docs/language>
- <https://github.com/onflow/cadence#readme>
- <https://github.com/onflow/cadence/releases/tag/v1.0.0>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

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

## 源数据库详情

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

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

- zypper - Cadence - 0.9.2-2.9: normalized package name match | openSUSE Tumbleweed package metadata: Cadence from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A JACK Audio Toolbox | https://kx.studio/Applications:Cadence


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [agda](https://www.automicvault.com/zh-hans/pkg/brew/agda/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [algol68g](https://www.automicvault.com/zh-hans/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [ats2-postiats](https://www.automicvault.com/zh-hans/pkg/brew/ats2-postiats/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [ballerina](https://www.automicvault.com/zh-hans/pkg/brew/ballerina/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [chapel](https://www.automicvault.com/zh-hans/pkg/brew/chapel/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [coconut](https://www.automicvault.com/zh-hans/pkg/brew/coconut/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [coffeescript](https://www.automicvault.com/zh-hans/pkg/brew/coffeescript/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [crystal](https://www.automicvault.com/zh-hans/pkg/brew/crystal/) - Shares av.db curated category or tags: cli, language-runtime, programming-language.
- [solidity](https://www.automicvault.com/zh-hans/pkg/brew/solidity/) - Local package facts share a topical domain. Shared terms: cli, contract, contracts, language, language-runtime.
- [inko](https://www.automicvault.com/zh-hans/pkg/brew/inko/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, oriented, programming.
- [logtalk](https://www.automicvault.com/zh-hans/pkg/brew/logtalk/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, oriented, programming.

## Combined YAML source

View the package source record on GitHub. [combined/cadence.yml](https://github.com/automic-vault/db/blob/main/combined/cadence.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
