# 使用 Homebrew, dnf, Nix 安装 openclaw-cli

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install openclaw-cli
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install openclaw
```

  证据: Fedora Rawhide package metadata: openclaw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#openclaw
```

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

## 软件包事实

- **软件包键:** brew:openclaw-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/openclaw-cli>
- **版本:** 2026.7.1
- **来源摘要:** Your own personal AI assistant
- **主页:** <https://openclaw.ai/>
- **上游文档:** <https://openclaw.ai/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/openclaw/-/openclaw-2026.7.1.tgz>
- **最后更新:** 2026-07-14T18:47:59Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- openclaw (cli)
- openclaw (别名)

## 依赖

- node

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2026.7.1
- 管理器更新时间: 2026-07-14
- 本地数据: OK
- 上游仓库: https://openclaw.ai/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

OpenClaw is packaged around the `openclaw` command and documented as a self-hosted gateway for personal AI assistance. The official docs describe a single Gateway process that connects chat apps and channel plugins to AI coding agents, with sessions, memory, tool use, multi-agent routing, and local control as the central design points.

### 项目历史

The public project materials emphasize architecture and setup more than origin chronology. The repository and docs present OpenClaw as an MIT-licensed, community-driven project with a Node-based CLI onboarding flow, a long-running Gateway daemon, a browser dashboard, and channel integrations for messaging surfaces such as Discord, iMessage, Signal, Slack, Telegram, WhatsApp, Matrix, and others.

### 使用方式

Operators install the CLI with a JavaScript package manager such as npm, pnpm, or bun, then run `openclaw onboard` to configure the gateway, workspace, channels, and skills. The recommended daemon mode installs the Gateway as a user service through launchd or systemd so the assistant remains reachable from configured chat surfaces.

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

For package metadata, OpenClaw is notable less as a standalone model client and more as a local agent gateway: the package exposes a CLI, installs a daemon-style service, and bridges external chat channels to local or provider-backed coding agents. Its history is thinly documented in primary sources, so the useful enrichment is mostly about packaging shape and operating model.

### 来源

- <https://docs.openclaw.ai/cli>
- <https://github.com/openclaw/openclaw>
- <https://github.com/openclaw/openclaw/blob/main/docs/index.md>
- <https://github.com/openclaw/openclaw/releases>


## 安全说明

没有找到 openclaw-cli 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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

- Unix: ~/.openclaw/openclaw.json

## Credential files

- Unix: ~/.openclaw/openclaw.json, auth-profiles.json, .env, agents/*/agent/models.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openclaw-cli
- **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

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

- Nix - openclaw: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/op/openclaw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - openclaw - 2026.5.7-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: openclaw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Your own personal AI assistant | https://github.com/openclaw/openclaw


## 相关链接

- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [ironclaw](https://pkg.so/zh-hans/brew/ironclaw/) - Shares pkgdb curated category or tags: agents, ai, ai-assistant, automation, cli.
- [librefang](https://pkg.so/zh-hans/brew/librefang/) - Shares pkgdb curated category or tags: agents, ai, automation, cli, self-hosted.
- [hermes-agent](https://pkg.so/zh-hans/brew/hermes-agent/) - Shares pkgdb curated category or tags: agents, ai, automation, cli.
- [docker-agent](https://pkg.so/zh-hans/brew/docker-agent/) - Shares pkgdb curated category or tags: agents, ai, automation, cli.
- [nullclaw](https://pkg.so/zh-hans/brew/nullclaw/) - Shares pkgdb curated category or tags: agent, agents, ai, cli.
- [gptme](https://pkg.so/zh-hans/brew/gptme/) - Shares pkgdb curated category or tags: agent, agents, ai, cli.
- [picoclaw](https://pkg.so/zh-hans/brew/picoclaw/) - Shares pkgdb curated category or tags: agent, agents, ai, cli.
- [block-goose-cli](https://pkg.so/zh-hans/brew/block-goose-cli/) - Shares pkgdb curated category or tags: agents, ai, cli.
- [openclaw](https://pkg.so/zh-hans/npm/openclaw/) - Executable or command metadata overlaps with this package. Shared terms: agents, ai, cli, node, openclaw.

## Combined YAML source

View the package source record on GitHub. [combined/openclaw-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/openclaw-cli.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
