macOS
brew install jagslocal Homebrew formula metadata
sudo port install jagsMacPorts ports tree · science/jags/Portfile · source: api.github.com
brew
Just Another Gibbs Sampler for Bayesian MCMC simulation. Version 4.3.2 via Homebrew; verified from local package data.
install
brew install jagslocal Homebrew formula metadata
sudo port install jagsMacPorts ports tree · science/jags/Portfile · source: api.github.com
sudo apt install jagsDebian stable package indexes · jags · source: deb.debian.org
nix profile install nixpkgs#jagsnixpkgs package indexes · pkgs/by-name/ja/jags/package.nix · source: api.github.com
overview
Just Another Gibbs Sampler for Bayesian MCMC simulation
history
JAGS, Just Another Gibbs Sampler, is a Bayesian MCMC engine for models written in the BUGS language family. Its package-manager role is to provide the native sampler executable and library that statistical front ends, especially R interfaces, can call.
Martyn Plummer presented JAGS at the 2003 Distributed Statistical Computing workshop as a program for Bayesian graphical models using Gibbs sampling, aiming at compatibility with classic BUGS while leaving room for an R package interface. The project site later summarized the same design goals as a cross-platform BUGS engine, an extensible system for custom functions, distributions, and samplers, and a platform for Bayesian modelling experiments.
The SourceForge project became the authoritative home for source, manuals, and binaries. Its code tree identifies JAGS as a C++ implementation based on the BUGS program created by the MRC Biostatistics Unit, and the project site documents binary distribution for macOS and Windows plus separate Debian, Ubuntu, and MacPorts packaging.
JAGS adoption is closely tied to the BUGS ecosystem and to R. The project site explicitly points users to Debian, Ubuntu, and MacPorts packages, while the rjags documentation describes an interface to the JAGS MCMC library maintained by Martyn Plummer. Homebrew API data available during this enrichment recorded 890 installs over 365 days, which is small compared with broad CLI tools but meaningful for a specialized scientific engine.
The package has persisted because it gives statisticians a scriptable, cross-platform BUGS-language engine without depending on the WinBUGS/OpenBUGS GUI tradition. That made it a practical backend for teaching, ecological models, Bayesian hierarchical workflows, and R-driven analysis pipelines.
Users write Bayesian hierarchical models in a BUGS-like language, run MCMC simulation through the `jags` terminal interface or an integration such as rjags, and post-process chains in statistical software. The package is a computation backend rather than a general-purpose interactive application.
JAGS is package-nerd interesting because it is a long-lived SourceForge-era scientific tool that still matters at the package boundary: install the native sampler once, then R, scripts, courses, and reproducible analyses can target the same engine across Unix-like systems, Windows, and macOS.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jags | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://mcmc-jags.sourceforge.io
install metadata
| Package key | brew:jags |
|---|---|
| Version | 4.3.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jags |
| Homepage | https://mcmc-jags.sourceforge.io |
| Repository | https://sourceforge.net/p/mcmc-jags/code-0/ci/default/tree |
| Upstream docs | https://sourceforge.net/projects/mcmc-jags/files/Manuals/4.x |
| License | GPL-2.0-only |
| Source archive | https://downloads.sourceforge.net/project/mcmc-jags/JAGS/4.x/Source/JAGS-4.3.2.tar.gz |
| Dependencies | openblas |
| Build dependencies | gcc |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jags |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
jags 4.3.2-1
Just Another Gibbs Sampler for Bayesian MCMC - binary
https://mcmc-jags.sourceforge.io
sudo apt install jagsjags
nix profile install nixpkgs#jagsjags 4.3.2-1
Just Another Gibbs Sampler for Bayesian MCMC - binary
https://mcmc-jags.sourceforge.io
sudo apt install jagsjags
sudo port install jagssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.