# Install murex with Homebrew, apk, MacPorts, Nix

Bash-like shell designed for greater command-line productivity and safer scripts. Version 7.2.1001 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#murex.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install murex
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install murex
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:murex
- **Package manager:** Homebrew
- **Version:** 7.2.1001
- **Source summary:** Bash-like shell designed for greater command-line productivity and safer scripts
- **Homepage:** <https://murex.rocks>
- **Repository:** <https://github.com/lmorg/murex>
- **Last updated:** 2026-07-29T17:05:01+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- murex (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 7.2.1001
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Sources

- <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/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Other Package-Manager Records

- 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


## Combined YAML source

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


## Sources

- 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
