# 使用 Homebrew, apk 安装 cypher-shell

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

## 安装

```sh
sudo av install brew:cypher-shell
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cypher-shell
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cypher-shell
```

  证据: Alpine Linux edge package indexes: cypher-shell from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:cypher-shell
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cypher-shell>
- **版本:** 2026.06.0
- **来源摘要:** Command-line shell where you can execute Cypher against Neo4j
- **主页:** <https://neo4j.com>
- **上游文档:** <https://neo4j.com>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://dist.neo4j.org/cypher-shell/cypher-shell-2026.06.0.zip>
- **最后更新:** 2026-07-08T13:00:15Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cypher-shell (cli)
- cypher-shell (别名)

## 依赖

- openjdk@21

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

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

Cypher Shell is Neo4j's command-line interface for running Cypher queries and administrative commands against a Neo4j database. It is the package-manager-friendly way to script graph database sessions without opening Neo4j Browser.

### 项目历史

Neo4j kept Cypher Shell in a standalone neo4j/cypher-shell repository for the 1.1 era; that repository's README says newer versions moved into the main neo4j/neo4j repository under community/cypher-shell. The standalone repository is now archived, while the active source lives with Neo4j itself.

The old README documents a build system that produced runnable scripts, zip packages, Debian packages, and RPM packages, which shows Cypher Shell was treated early as a separately distributable command-line tool even though it was tightly coupled to Neo4j.

### 采用历史

Official Neo4j operations documentation presents Cypher Shell as a supported administrative and query tool. It can be installed separately from Neo4j and connected to a live DBMS, which is why it appears naturally in package managers and automation environments.

### 使用方式

Users run cypher-shell interactively, pass a Cypher string, pipe files, or execute files containing Cypher statements. The current manual documents connection options for address, username, password, database, access mode, logging, output format, parameters, transactions, and scripting behavior.

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

Cypher Shell matters to package nerds because it decouples graph-database operations from the server install. A Homebrew or distro package can give developers a lightweight client for local scripts, CI jobs, and remote Neo4j administration.

### 时间线

- 2016: neo4j/cypher-shell standalone repository created.
- 2018: Standalone repository tag history includes Neo4j 3.3 and 3.4 era tags.
- 2023: Archived standalone README points users to community/cypher-shell inside neo4j/neo4j.
- 2026: Current Neo4j Operations Manual documents Cypher Shell as part of Neo4j DBMS tooling.

### Related projects

- Neo4j is the graph database Cypher Shell connects to.
- Cypher is the query language executed by Cypher Shell.
- Neo4j Browser is the graphical counterpart for interactive query work.

### 来源

- <https://github.com/neo4j/neo4j>
- <https://github.com/neo4j/cypher-shell>
- <https://github.com/neo4j/cypher-shell#readme>
- <https://neo4j.com/docs/operations-manual/current/cypher-shell/>
- <https://api.github.com/repos/neo4j/neo4j>
- <https://api.github.com/repos/neo4j/cypher-shell>


## 安全说明

generalized runtime or code generation signal.

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

## 源数据库详情

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

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

- apk - cypher-shell - 4.4.41-r0: normalized package name match | Alpine Linux edge package indexes: cypher-shell from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cypher Shell - CLI for Neo4j | https://neo4j.com


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk@21](https://pkg.so/zh-hans/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [neo4j](https://pkg.so/zh-hans/brew/neo4j/) - Popular package that depends on this formula.
- [ladybug](https://pkg.so/zh-hans/brew/ladybug/) - Shares pkgdb curated category or tags: cli, cypher, data, database, graph-database.
- [kuzu](https://pkg.so/zh-hans/brew/kuzu/) - Shares pkgdb curated category or tags: cli, cypher, data, database, graph-database.
- [orientdb](https://pkg.so/zh-hans/brew/orientdb/) - Shares pkgdb curated category or tags: cli, data, database, graph-database.
- [mysql](https://pkg.so/zh-hans/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@14](https://pkg.so/zh-hans/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@16](https://pkg.so/zh-hans/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@17](https://pkg.so/zh-hans/brew/postgresql-17/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@18](https://pkg.so/zh-hans/brew/postgresql-18/) - Shares pkgdb curated category or tags: cli, data, database.

## Combined YAML source

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


## 来源

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