# Install moon with Homebrew, Nix, scoop

Task runner and repo management tool for the web ecosystem, written in Rust. Version 2.4.6 via Homebrew; verified 2026-07-28. Also installable with nix: nix profile install nixpkgs#moon.

## 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
- **Version:** 2.4.6
- **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>
- **Last updated:** 2026-07-28T12:52:09Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- moon (alias)
- moonx (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.4.6
## 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.*
## 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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
