# Install mrbayes with Homebrew, apt, Nix, winget

Bayesian inference of phylogenies and evolutionary models. Version 3.2.7a via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:mrbayes
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mrbayes
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mrbayes
```

  Evidence: Debian stable package indexes: mrbayes from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#mrbayes
```

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

### Windows

- winget (92%):

```sh
winget install --id NBIS.MrBayes -e
```

  Evidence: Windows Package Manager source index: NBIS.MrBayes from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mrbayes
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mrbayes>
- **Version:** 3.2.7a
- **Source summary:** Bayesian inference of phylogenies and evolutionary models
- **Homepage:** <https://nbisweden.github.io/MrBayes/>
- **Repository:** <https://github.com/NBISweden/MrBayes>
- **Upstream docs:** <https://nbisweden.github.io/MrBayes/manual.html>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/NBISweden/MrBayes/archive/refs/tags/v3.2.7a.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mb (cli)
- mb (alias)

## Dependencies

- beagle
- open-mpi

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.2.7a
- Local data: ok
- Upstream repository: https://github.com/NBISweden/MrBayes
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

MrBayes is a phylogenetics program for Bayesian inference and model choice across evolutionary models. John P. Huelsenbeck and Fredrik Ronquist introduced MRBAYES in Bioinformatics in 2001 as software for Bayesian inference of phylogeny using a variant of Markov chain Monte Carlo. The project later became associated with MrBayes 3, cited for Bayesian phylogenetic inference under mixed models, and MrBayes 3.2, cited for efficient inference and model selection across a large model space.

### Project history

The program's technical role is to make Bayesian phylogenetic analysis accessible through a command-line tool named mb. The official site lists support for nucleotide, amino-acid, restriction-site, and morphological data; mixed data types in one analysis; partitioned models with linked or unlinked parameters; many nucleotide and amino-acid rate matrices; clock trees; topology constraints; convergence diagnostics; stepping-stone model-likelihood estimation; MPI parallel jobs; BEAGLE acceleration; and checkpointing.

### How it is used

MrBayes is a research package more than a general developer tool. Its manual says new users are served by a manual with tutorials, model discussions, FAQ material, and differences between versions 2 and 3, while published analyses are expected to cite the relevant MrBayes papers and optional parallel or BEAGLE-method papers. The GitHub repository notes that after release 3.2.6 in November 2015 the project entered maintenance mode under the National Bioinformatics Infrastructure Sweden, with the original development team still involved and future work oriented mainly toward bug fixes. Package managers expose it as a command-line scientific application for reproducible phylogenetic workflows.

### Sources

- <https://academic.oup.com/bioinformatics/article/17/8/754/235132>
- <https://formulae.brew.sh/formula/mrbayes>
- <https://github.com/NBISweden/MrBayes>
- <https://nbisweden.github.io/MrBayes/>
- <https://nbisweden.github.io/MrBayes/authors.html>
- <https://nbisweden.github.io/MrBayes/manual.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mrbayes
- **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

## Other Package-Manager Records

- Debian apt - mrbayes - 3.2.7a-7+b1: normalized package name match | Debian stable package indexes: mrbayes from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bayesian Inference of Phylogeny | http://mrbayes.csit.fsu.edu/
- Debian apt - mrbayes-doc - 3.2.7a-7: normalized package name match | Debian stable package indexes: mrbayes-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bayesian Inference of Phylogeny - manual | http://mrbayes.csit.fsu.edu/
- Debian apt - mrbayes-mpi - 3.2.7a-7+b1: normalized package name match | Debian stable package indexes: mrbayes-mpi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bayesian Inference of Phylogeny - mpi version | http://mrbayes.csit.fsu.edu/
- Nix - mrbayes: normalized package name match | nixpkgs package indexes: pkgs/by-name/mr/mrbayes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mrbayes - 3.2.7a-7build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mrbayes from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bayesian Inference of Phylogeny | http://mrbayes.csit.fsu.edu/
- Ubuntu apt - mrbayes-doc - 3.2.7a-7build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mrbayes-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bayesian Inference of Phylogeny - manual | http://mrbayes.csit.fsu.edu/
- Ubuntu apt - mrbayes-mpi - 3.2.7a-7build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mrbayes-mpi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bayesian Inference of Phylogeny - mpi version | http://mrbayes.csit.fsu.edu/
- winget - NBIS.MrBayes: normalized package name match | Windows Package Manager source index: NBIS.MrBayes from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [open-mpi](https://www.automicvault.com/pkg/brew/open-mpi/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [fastme](https://www.automicvault.com/pkg/brew/fastme/) - Shares av.db curated category or tags: bioinformatics, cli, phylogenetics, science.
- [hyphy](https://www.automicvault.com/pkg/brew/hyphy/) - Shares av.db curated category or tags: bioinformatics, cli, phylogenetics, science.
- [paml](https://www.automicvault.com/pkg/brew/paml/) - Shares av.db curated category or tags: bioinformatics, cli, phylogenetics, science.
- [raxml-ng](https://www.automicvault.com/pkg/brew/raxml-ng/) - Shares av.db curated category or tags: bioinformatics, cli, phylogenetics, science.
- [trimal](https://www.automicvault.com/pkg/brew/trimal/) - Shares av.db curated category or tags: bioinformatics, cli, phylogenetics, science.
- [veryfasttree](https://www.automicvault.com/pkg/brew/veryfasttree/) - Shares av.db curated category or tags: bioinformatics, cli, phylogenetics, science.
- [abpoa](https://www.automicvault.com/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abricate](https://www.automicvault.com/pkg/brew/abricate/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abyss](https://www.automicvault.com/pkg/brew/abyss/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, mpi, open, open-mpi.

## Combined YAML source

View the package source record on GitHub. [combined/mrbayes.yml](https://github.com/automic-vault/db/blob/main/combined/mrbayes.yml)


## Sources

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