# Install cobalt with Homebrew, Nix, pacman, scoop, winget

Static site generator written in Rust. Version 0.20.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cobalt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cobalt
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cobalt
```

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

- pacman (92%):

```sh
sudo pacman -S cobalt
```

  Evidence: Arch Linux sync databases: cobalt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/cobalt
```

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

- winget (92%):

```sh
winget install --id cobalt-org.cobalt -e
```

  Evidence: Windows Package Manager source index: cobalt-org.cobalt from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:cobalt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cobalt>
- **Version:** 0.20.4
- **Source summary:** Static site generator written in Rust
- **Homepage:** <https://cobalt-org.github.io/>
- **Repository:** <https://github.com/cobalt-org/cobalt.rs>
- **Upstream docs:** <https://cobalt-org.github.io/docs>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/cobalt-org/cobalt.rs/archive/refs/tags/v0.20.4.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cobalt (cli)
- cobalt (alias)

## Build dependencies

- rust

## 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: 0.20.4
- Local data: ok
- Upstream repository: https://github.com/cobalt-org/cobalt.rs
- Upstream latest detected: v0.20.4 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Cobalt is a Rust static site generator distributed as the `cobalt` command, packaged for Homebrew and as the `cobalt-bin` crate on crates.io. Its package-nerd appeal is that it is an early Rust-era take on the Jekyll-style static site workflow: source files, front matter, Liquid-style templates, and a small native CLI.

### Project history

The GitHub repository was created in 2014, and the changelog records `0.2` as the initial release. The project later organized around the `cobalt-org/cobalt.rs` repository and publishes the binary crate as `cobalt-bin`.

Cobalt's changelog shows the tool growing into a fuller site generator through 2016 and 2017, adding `serve`, `watch`, `new`, custom paths, RSS improvements, draft support, syntax highlighting experiments, generated binaries for macOS, Windows, and Linux, and a move from getopt to clap.

### Adoption history

Cobalt remains a niche but durable Rust CLI. crates.io lists `cobalt-bin` with tens of thousands of downloads, while Homebrew, Nix, Arch, Scoop, and WinGet packaging in the input show that the tool crossed beyond Cargo-only installation.

### How it is used

Users create a site with Cobalt's directory conventions and configure site-wide behavior in `_cobalt.yml`. The official docs describe `_cobalt.yml` as the default config file for site options, source and destination directories, front matter defaults, syntax highlighting, pages, posts, and assets.

The day-to-day CLI shape is familiar for static site generators: initialize or create content, build static output, and use local serving/watch workflows while editing.

### Why package nerds care

Cobalt is useful as a package-history marker for the period when Rust CLIs began replacing scripting-language developer tools. Its significance is not mass adoption; it is the way it packages a static-site workflow into a native binary and ships across Cargo and OS package managers.

The package is also a reminder that package names can be ambiguous: crates.io has an unrelated `cobalt` crate, while the static site generator's executable package is `cobalt-bin`.

### Timeline

- 2014: `cobalt-org/cobalt.rs` GitHub repository created.
- 2016: `cobalt-bin` crate created on crates.io.
- 2017: Changelog records generated binaries for macOS, Windows, and Linux in the 0.5 era and a larger 0.7.0 feature release.
- 2022: 0.18.0 drops `cobalt import` and improves local serving behavior.
- 2025: 0.20.0 switches Sass support from libsass to grass.
- 2026: 0.20.4 release published.

### Related projects

- Cobalt sits in the static-site-generator family with Jekyll, Hugo, Zola, and mdBook, and it uses Rust ecosystem pieces such as Cargo distribution and Rust templating/parsing libraries.
- Its own docs are built and maintained separately in `cobalt-org/cobalt-org.github.io`, which the official documentation links as the docs source.

### Sources

- <https://github.com/cobalt-org/cobalt.rs>
- <https://raw.githubusercontent.com/cobalt-org/cobalt.rs/master/CHANGELOG.md>
- <https://cobalt-org.github.io/docs>
- <https://cobalt-org.github.io/docs/config>
- <https://crates.io/crates/cobalt-bin>


## 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: _cobalt.yml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cobalt
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - cobalt: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/cobalt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cobalt - 0.20.4-2: normalized package name match | Arch Linux sync databases: cobalt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Static site generator written in Rust | https://cobalt-org.github.io/
- Scoop - main/cobalt: normalized package name match | Scoop official bucket manifest trees: bucket/cobalt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - cobalt-org.cobalt: normalized package name match | Windows Package Manager source index: cobalt-org.cobalt from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [zola](https://www.automicvault.com/pkg/brew/zola/) - Shares av.db curated category or tags: cli, developer-tools, rust, static-site-generator, website.
- [hugo](https://www.automicvault.com/pkg/brew/hugo/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator, website.
- [docfx](https://www.automicvault.com/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [eleventy](https://www.automicvault.com/pkg/brew/eleventy/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [gostatic](https://www.automicvault.com/pkg/brew/gostatic/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [jbake](https://www.automicvault.com/pkg/brew/jbake/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [marmite](https://www.automicvault.com/pkg/brew/marmite/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.
- [nift](https://www.automicvault.com/pkg/brew/nift/) - Shares av.db curated category or tags: cli, developer-tools, static-site-generator.

## Combined YAML source

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