# Install spago with Homebrew

PureScript package manager and build tool. Version 1.0.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:spago
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spago
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:spago
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spago>
- **Version:** 1.0.4
- **Source summary:** PureScript package manager and build tool
- **Homepage:** <https://github.com/purescript/spago>
- **Repository:** <https://github.com/purescript/spago>
- **Upstream docs:** <https://github.com/purescript/spago#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://registry.npmjs.org/spago/-/spago-1.0.4.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- spago (cli)
- spago (alias)

## Dependencies

- node
- purescript

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

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

Spago is the PureScript package manager and build tool. It sits in the small-language tooling tradition where a single CLI handles project initialization, dependency resolution, builds, tests, REPL workflows, and publishing.

### Project history

The public repository was created in 2018 under the PureScript organization. The current README notes a rewrite of Spago in PureScript and directs users looking for versions up to 0.21.x to the legacy Haskell codebase.

### Adoption history

Spago became important in PureScript because it wrapped older ecosystem tools and ideas into one workflow. Its README names Cargo, Stack, psc-package, Pulp, and Bazel as inspirations, and its migration notes explicitly cover moving from `bower` and from the older `spago.dhall` configuration to `spago.yaml`.

### How it is used

A typical session is `spago init`, edit `spago.yaml`, then use commands such as `spago run`, `spago build`, `spago test`, `spago repl`, and package-set queries. The README recommends installing with npm across Windows, Linux, and macOS, while Homebrew packages it for users who prefer system package-manager workflows.

### Why package nerds care

Spago is interesting to package-tool people because it exposes PureScript's package-set model, registry migration, lock files, monorepo support, and JavaScript output workflow in one CLI. It shows how a niche language ecosystem can converge on Cargo-like ergonomics without simply copying npm.

### Timeline

- 2018: Public GitHub repository created.
- 2020s: Current README documents the PureScript rewrite and legacy Haskell-codebase cutoff at versions up to 0.21.x.
- 2020s: `spago.yaml` replaces the older Dhall-based configuration path for the new codebase.

### Related projects

- Related PureScript tooling includes the PureScript compiler, psc-package, Pulp, PureScript package sets, the PureScript registry, and spago-legacy.

### Sources

- <https://api.github.com/repos/purescript/spago>
- <https://github.com/purescript/spago>
- <https://raw.githubusercontent.com/purescript/spago/master/README.md>
- input.source_facts.package-manager


## Security Notes

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## 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: spago.yaml
## Source Database Details

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [purescript](https://www.automicvault.com/pkg/brew/purescript/) - Runtime dependency declared by Homebrew.
- [bower](https://www.automicvault.com/pkg/brew/bower/) - Shares av.db curated category or tags: cli, developer-tools, javascript, package-management, package-manager.
- [cabal-install](https://www.automicvault.com/pkg/brew/cabal-install/) - Shares av.db curated category or tags: build-tool, cli, developer-tools, package-management, package-manager.
- [dub](https://www.automicvault.com/pkg/brew/dub/) - Shares av.db curated category or tags: build-tool, cli, developer-tools, package-management, package-manager.
- [pnpm](https://www.automicvault.com/pkg/brew/pnpm/) - Shares av.db curated category or tags: cli, developer-tools, javascript, package-management, package-manager.
- [psc-package](https://www.automicvault.com/pkg/brew/psc-package/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager, purescript.
- [akku](https://www.automicvault.com/pkg/brew/akku/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [clib](https://www.automicvault.com/pkg/brew/clib/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [composer](https://www.automicvault.com/pkg/brew/composer/) - Shares av.db curated category or tags: cli, developer-tools, package-management, package-manager.
- [corepack](https://www.automicvault.com/pkg/brew/corepack/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, javascript, management.
- [mcp-get](https://www.automicvault.com/pkg/brew/mcp-get/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, management, manager.
- [ni](https://www.automicvault.com/pkg/brew/ni/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, management, manager.

## Combined YAML source

View the package source record on GitHub. [combined/spago.yml](https://github.com/automic-vault/db/blob/main/combined/spago.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
- cross-ecosystem install command graph
