# 使用 Homebrew 安装 maven-shell

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install maven-shell
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:maven-shell
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Shell for Maven
- **主页:** <https://github.com/jdillon/mvnsh>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mvnsh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Maven Shell, packaged as `maven-shell` and executed as `mvnsh`, is a shell-oriented wrapper around Apache Maven intended to give Maven users an interactive command environment.

### 项目历史

The README describes the project tersely as Maven Shell (`mvnsh`) and says it is based on GShell 3. The README and POM both carry copyright text beginning in 2009, and the POM identifies the Maven coordinates as `com.planet57.maven.shell:mvnsh` with modules for commands, bootstrap, personality, and assembly.

The public tag list includes mvnsh-0.9, 0.10, 1.0, 1.0.1, and 1.1.0, with the GitHub release page for mvnsh-1.1.0 dated 2013-04-26. The POM's unreleased snapshot version is 1.2.0-SNAPSHOT, suggesting the packaged tool belongs to an older Maven 3.x/Java 8 era.

### 采用历史

The batch input records only Homebrew packaging for maven-shell, which fits its narrow audience: Java developers who wanted an interactive Maven shell rather than repeatedly invoking `mvn` commands from a normal terminal.

### 使用方式

The README documents building with Maven 3.3+ and Java 8+, preferably through the included Maven wrapper, then running the assembled shell with `./build run`. Homebrew exposes the `mvnsh` executable for users who install it as a package instead of building from source.

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

maven-shell is a small historical artifact from the period when Java build tools experimented with richer shells and command environments. It matters less as a modern ecosystem pillar than as a package-manager fossil for Maven power users and GShell-based tooling.

### 时间线

- 2009: README and POM copyright ranges begin.
- 2013: GitHub release mvnsh-1.1.0 is published.
- 2010s: POM records Maven 3.3+ and Java 8+ requirements for the maintained source line.

### Related projects

- The README says Maven Shell is based on GShell 3. Its neighboring ecosystem is Apache Maven, Maven Wrapper, Java build tooling, and older interactive shells around build systems.

### 来源

- <https://github.com/jdillon/mvnsh>
- <https://github.com/jdillon/mvnsh/releases/tag/mvnsh-1.1.0>
- <https://raw.githubusercontent.com/jdillon/mvnsh/master/README.md>
- <https://raw.githubusercontent.com/jdillon/mvnsh/master/pom.xml>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
