# 使用 Homebrew, apk, MacPorts, Nix 安装 murex

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

## 安装

```sh
sudo av install brew:murex
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install murex
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install murex
```

  证据: MacPorts ports tree: shells/murex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add murex
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#murex
```

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

## 软件包事实

- **软件包键:** brew:murex
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/murex>
- **版本:** 7.2.1001
- **来源摘要:** Bash-like shell designed for greater command-line productivity and safer scripts
- **主页:** <https://murex.rocks>
- **仓库:** <https://github.com/lmorg/murex>
- **上游文档:** <https://murex.rocks>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/lmorg/murex/archive/refs/tags/v7.2.1001.tar.gz>
- **最后更新:** 2026-07-29T17:05:01+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- murex (cli)
- murex (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.2.1001
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/lmorg/murex
- 检测到的最新版本: v7.2.1001 (当前)
## 项目历史与用法

Murex is an alternative command-line shell from the lmorg/murex project, written in Go and positioned as a Bash-like shell for safer scripts and more productive interactive use. Its public documentation describes it as a cross-platform shell that keeps compatibility with ordinary Unix commands while adding typed, content-aware pipelines and richer handling for structured data.

### 项目历史

The central technical idea is that pipeline data can carry type information rather than being treated only as byte streams. Murex documents native support for JSON, YAML, XML, CSV, tables, and related formats, and its language tour presents it as a typed shell that can still call existing CLI tools without special adapters. The project also emphasizes error handling, unit tests, autocomplete, and a more capable REPL, aiming at DevOps-style one-liners and scripts where Bash's stringly behavior becomes fragile.

### 使用方式

Its package-manager niche is the modern-shell lane beside fish, nushell, xonsh, and Oil: not a POSIX /bin/sh replacement, but a daily shell and scripting language for users who work heavily with structured command output. In practice it is installed as the murex executable, then used either interactively or for scripts that benefit from first-class JSON/YAML/table processing.

### 来源

- <https://formulae.brew.sh/formula/murex>
- <https://github.com/lmorg/murex>
- <https://murex.rocks/>
- <https://murex.rocks/commands/>
- <https://murex.rocks/tour.html>
- <https://pkg.go.dev/github.com/lmorg/murex>
- <https://www.freshports.org/shells/murex/>


## 安全说明

generalized runtime or code generation signal.

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

## 源数据库详情

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

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

- Nix - murex: normalized package name match | nixpkgs package indexes: pkgs/by-name/mu/murex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - murex - 7.2.1001-r4: normalized package name match | Alpine Linux edge package indexes: murex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Intuitive, typed and content aware shell | https://murex.rocks/
- apk - murex-doc - 7.2.1001-r4: normalized package name match | Alpine Linux edge package indexes: murex-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Intuitive, typed and content aware shell (documentation) | https://murex.rocks/
- MacPorts - murex: normalized package name match | MacPorts ports tree: shells/murex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [nushell](https://pkg.so/zh-hans/brew/nushell/) - Shares pkgdb curated category or tags: cli, shell, system, terminal.
- [thefuck](https://pkg.so/zh-hans/brew/thefuck/) - Shares pkgdb curated category or tags: cli, shell, system, terminal.
- [posh](https://pkg.so/zh-hans/brew/posh/) - Shares pkgdb curated category or tags: cli, scripting, shell, system.
- [nsh](https://pkg.so/zh-hans/brew/nsh/) - Shares pkgdb curated category or tags: cli, shell, system, terminal.
- [bash](https://pkg.so/zh-hans/brew/bash/) - Shares pkgdb curated category or tags: cli, shell, system.
- [dash-shell](https://pkg.so/zh-hans/brew/dash-shell/) - Shares pkgdb curated category or tags: cli, shell, system.
- [brush](https://pkg.so/zh-hans/brew/brush/) - Shares pkgdb curated category or tags: cli, shell, system.
- [elvish](https://pkg.so/zh-hans/brew/elvish/) - Shares pkgdb curated category or tags: cli, shell, system.
- [clifm](https://pkg.so/zh-hans/brew/clifm/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, shell, system.

## Combined YAML source

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