# nak mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für nak in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:nak
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install nak
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nak
```

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

## Paketfakten

- **Paketschlüssel:** brew:nak
- **Paketmanager:** Homebrew
- **Version:** 0.20.2
- **Quellzusammenfassung:** CLI for doing all things nostr
- **Homepage:** <https://github.com/fiatjaf/nak>
- **Repository:** <https://github.com/fiatjaf/nak>
- **Zuletzt aktualisiert:** 2026-07-26T19:43:12+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- nak (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.20.2
## Projektgeschichte und Nutzung

nak is fiatjaf's "nostr army knife": a Go command-line tool for creating, signing, publishing, querying, validating, and otherwise plumbing Nostr protocol events.

### Projektgeschichte

The GitHub repository was created on 2022-02-09, during the early growth period of the Nostr ecosystem. Its README presents it as a general-purpose command-line tool for Nostr work, installable via a shell installer, Go, binaries, Homebrew, Arch, and Nix.

The release stream shows active maintenance through the 0.19 and 0.20 series, including v0.20.0 on 2026-06-21. That cadence fits a protocol utility that follows NIP additions and real relay/client usage rather than a one-off demo.

### Adoptionsgeschichte

nak's audience is narrower than mainstream networking tools, but it sits in an important niche for Nostr developers and power users. The repository metadata consulted on 2026-07-01 showed 389 GitHub stars and 46 forks, and the Homebrew page listed 673 installs over the prior 365 days.

Its adoption is tied to Nostr's preference for simple event and relay primitives: a CLI that can emit JSON, sign events, query relays, manage keys, and script relay operations is useful for debugging clients, writing shell workflows, and testing protocol behavior.

### Wie es verwendet wird

The README examples show the core workflow: `nak event` creates a signed event; options can set secret keys, content, tags, timestamps, and relay targets; `nak req` queries relays and emits JSON that users commonly pipe to tools like `jq`.

Package nerds reach for nak when they want a reproducible Nostr command in a script: publish a test note, inspect relay responses, validate an event, talk to relay management APIs, experiment with bunker/nsec flows, or use Nostr as a transport for other artifacts.

### Warum Paket-Nerds sich dafür interessieren

nak is significant less as a mass-market CLI and more as a protocol workbench. It gives Nostr's event model a Unix-shaped interface, which is exactly what packagers and shell people want when a network protocol is still evolving.

### Zeitleiste

- 2022-02-09: GitHub repository created.
- 2026-06-21: v0.20.0 release published.
- 2026-07-01: Homebrew Formulae page listed version 0.20.0 and 673 installs over the prior 365 days.

### Related projects

- Nostr
- nostr-tools
- noscl

### Quellen

- <https://api.github.com/repos/fiatjaf/nak>
- <https://api.github.com/repos/fiatjaf/nak/releases?per_page=5>
- <https://formulae.brew.sh/formula/nak>
- <https://github.com/fiatjaf/nak>
- <https://stuff.fiatjaf.com/>


## Sicherheitshinweise

Für nak wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Andere Paketmanager-Einträge

- Nix - nak: normalized package name match | nixpkgs package indexes: pkgs/by-name/na/nak/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## Quellen

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