# Install moon with Homebrew, Nix, scoop

Task runner and repo management tool for the web ecosystem, written in Rust. Version 2.4.2 via Homebrew; verified 2026-07-08.

## Install

```sh
sudo av install brew:moon
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install moon
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#moon
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/moon
```

  Evidence: Scoop official bucket manifest trees: bucket/moon.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:moon
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/moon>
- **Version:** 2.4.2
- **Source summary:** Task runner and repo management tool for the web ecosystem, written in Rust
- **Homepage:** <https://moonrepo.dev/moon>
- **Repository:** <https://github.com/moonrepo/moon>
- **Upstream docs:** <https://moonrepo.dev/docs>
- **License:** MIT
- **Source archive:** <https://github.com/moonrepo/moon/archive/refs/tags/v2.4.2.tar.gz>
- **Last updated:** 2026-07-08T03:52:46Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- moon (cli)
- moonx (cli)
- moon (alias)
- moonx (alias)

## Build dependencies

- pkgconf
- protobuf
- rust

## Uses from macOS

- bzip2

## 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: 2.4.2
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://github.com/moonrepo/moon
- Upstream latest detected: v2.4.2 (current)
## Project history and usage

moon is the open-source build-system and repository-management tool from moonrepo. Its own documentation expands the name into management, organization, orchestration, and notification, and says the first incarnation of the broader "moonrepo" name came from a misspelling of "monorepo". In the February 21, 2023 Launch HN post, Miles and James described building Moonrepo to simplify repository management, project ownership, task running, and daily developer workflows after years working on infrastructure and developer tooling.

### Project history

The tool is written in Rust and intentionally occupies a middle ground between heavyweight build systems such as Bazel and lightweight script runners such as make or just. The documentation says many concepts are inspired by Bazel and other build systems but tailored for web-ecosystem languages; the product page lists JavaScript, TypeScript, Rust, Go, Ruby, and more among supported languages. Its practical feature set includes task orchestration, project graphs, smart hashing, incremental builds, local and remote caching, toolchain management, code ownership metadata, and CI-oriented notifications.

### How it is used

In package-manager terms, the Homebrew formula gives macOS developers a native way to install a tool that otherwise sits close to Node-oriented and monorepo tooling. Its niche overlaps with Turborepo, Nx, Bazel, Pants, just, and make, but moon's documentation frames the difference as structured repository management with incremental adoption and explicit developer-experience choices rather than only package.json script acceleration.

### Sources

- <https://github.com/moonrepo/moon>
- <https://moonrepo.dev/docs>
- <https://moonrepo.dev/docs/faq>
- <https://moonrepo.dev/moon>
- <https://news.ycombinator.com/item?id=34885077>


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .moon/workspace.*, .moon/toolchains.*, .moon/tasks/**/*, moon.*
## Source Database Details

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

- Nix - moon: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/moon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/moon: normalized package name match | Scoop official bucket manifest trees: bucket/moon.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [protobuf](https://www.automicvault.com/pkg/brew/protobuf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [nx](https://www.automicvault.com/pkg/brew/nx/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, monorepo, task-runner.
- [grunt-cli](https://www.automicvault.com/pkg/brew/grunt-cli/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, task-runner.
- [gulp-cli](https://www.automicvault.com/pkg/brew/gulp-cli/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, task-runner.
- [mako](https://www.automicvault.com/pkg/brew/mako/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, rust.
- [maturin](https://www.automicvault.com/pkg/brew/maturin/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, rust.
- [octobuild](https://www.automicvault.com/pkg/brew/octobuild/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, rust.
- [vite](https://www.automicvault.com/pkg/brew/vite/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, web-development.
- [vite-plus](https://www.automicvault.com/pkg/brew/vite-plus/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, web-development.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
