# Install mrbayes with Homebrew, apt, Nix, winget

Bayesian inference of phylogenies and evolutionary models. Version 3.2.7a via Homebrew; verified 2026-07-29. Also installable with debian: sudo apt install mrbayes.

## 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
- **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>
- **Last updated:** 2026-07-29T14:13:07+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mb (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.2.7a
## 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

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


## Combined YAML source

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