# 使用 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
- **版本:** 2026.06.0
- **来源摘要:** Command-line shell where you can execute Cypher against Neo4j
- **主页:** <https://neo4j.com>
- **最后更新:** 2026-07-08T13:00:15Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cypher-shell (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


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