# Install samurai

Ninja-compatible build tool written in C. Version 1.3 via Homebrew; verified 2026-04-06.

## Install

```sh
sudo av install brew:samurai
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install samurai
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install samurai
```

  Evidence: MacPorts ports tree: devel/samurai/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add samurai
```

  Evidence: Alpine Linux edge package indexes: samurai from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install samurai
```

  Evidence: Fedora Rawhide package metadata: samurai from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#samurai
```

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

- pacman (92%):

```sh
sudo pacman -S samurai
```

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

- zypper (92%):

```sh
sudo zypper install samurai
```

  Evidence: openSUSE Tumbleweed package metadata: samurai from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:samurai
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/samurai>
- **Version:** 1.3
- **Source summary:** Ninja-compatible build tool written in C
- **Homepage:** <https://github.com/michaelforney/samurai>
- **Repository:** <https://github.com/michaelforney/samurai>
- **Upstream docs:** <https://github.com/michaelforney/samurai#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/michaelforney/samurai/releases/download/1.3/samurai-1.3.tar.gz>
- **Last updated:** 2026-04-06T01:16:19Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- samu (cli)
- samu (alias)

## 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-06-10
- Package-manager version: 1.3
- Package-manager updated: 2026-04-06
- Local data status: ok
- Upstream repository: https://github.com/michaelforney/samurai
- info: No cached GitHub release or tag data was available.

## 安全说明

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** samurai
- **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 - samurai: normalized package name match | nixpkgs package indexes: pkgs/by-name/sa/samurai/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - samurai - 1.2-r8: normalized package name match | Alpine Linux edge package indexes: samurai from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ninja-compatible build tool written in C | https://github.com/michaelforney/samurai
- apk - samurai-dbg - 1.2-r8: normalized package name match | Alpine Linux edge package indexes: samurai-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ninja-compatible build tool written in C (debug symbols) | https://github.com/michaelforney/samurai
- apk - samurai-doc - 1.2-r8: normalized package name match | Alpine Linux edge package indexes: samurai-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ninja-compatible build tool written in C (documentation) | https://github.com/michaelforney/samurai
- dnf - samurai - 1.3-1.fc45: normalized package name match | Fedora Rawhide package metadata: samurai from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | ninja-compatible build tool written in C | https://github.com/michaelforney/samurai
- pacman - samurai - 1.3-1: normalized package name match | Arch Linux sync databases: samurai from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | ninja-compatible build tool written in C | https://github.com/michaelforney/samurai
- zypper - samurai - 1.2+git41.g737f702-1.3: normalized package name match | openSUSE Tumbleweed package metadata: samurai from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | C99 implementation of the ninja build tool | https://github.com/michaelforney/samurai
- MacPorts - samurai: normalized package name match | MacPorts ports tree: devel/samurai/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [maven](https://www.automicvault.com/zh-hans/pkg/brew/maven/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [ccache](https://www.automicvault.com/zh-hans/pkg/brew/ccache/) - Shares av.db curated category or tags: build-tools, c, cli, developer-tools.
- [sbt](https://www.automicvault.com/zh-hans/pkg/brew/sbt/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [ant](https://www.automicvault.com/zh-hans/pkg/brew/ant/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [vite](https://www.automicvault.com/zh-hans/pkg/brew/vite/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [leiningen](https://www.automicvault.com/zh-hans/pkg/brew/leiningen/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [maturin](https://www.automicvault.com/zh-hans/pkg/brew/maturin/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [haskell-stack](https://www.automicvault.com/zh-hans/pkg/brew/haskell-stack/) - Shares av.db curated category or tags: build-tool, build-tools, cli, developer-tools.
- [fobis](https://www.automicvault.com/zh-hans/pkg/brew/fobis/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tool, build-tools, cli, developer.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
