# 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
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/nak>
- **Version:** 0.20.0
- **Quellzusammenfassung:** CLI for doing all things nostr
- **Homepage:** <https://github.com/fiatjaf/nak>
- **Repository:** <https://github.com/fiatjaf/nak>
- **Upstream-Dokumentation:** <https://github.com/fiatjaf/nak#readme>
- **Lizenz:** Unlicense
- **Quellarchiv:** <https://github.com/fiatjaf/nak/archive/refs/tags/v0.20.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-21T12:35:56Z
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- nak (cli)
- nak (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 0.20.0
- Manager aktualisiert: 2026-06-21
- lokale Daten: OK
- Upstream-Repository: https://github.com/fiatjaf/nak
- neueste erkannte Version: v0.20.0 (aktuell)
## 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.


## Details aus der Quelldatenbank

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

## 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


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/de/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [goat](https://www.automicvault.com/de/pkg/brew/goat/) - Shares av.db curated category or tags: cli, go, networking.
- [gost](https://www.automicvault.com/de/pkg/brew/gost/) - Shares av.db curated category or tags: cli, go, networking.
- [hysteria](https://www.automicvault.com/de/pkg/brew/hysteria/) - Shares av.db curated category or tags: cli, networking, relay.
- [mihomo](https://www.automicvault.com/de/pkg/brew/mihomo/) - Shares av.db curated category or tags: cli, go, networking.
- [socat](https://www.automicvault.com/de/pkg/brew/socat/) - Shares av.db curated category or tags: cli, networking, relay.
- [trojan-go](https://www.automicvault.com/de/pkg/brew/trojan-go/) - Shares av.db curated category or tags: cli, go, networking.
- [zns](https://www.automicvault.com/de/pkg/brew/zns/) - Shares av.db curated category or tags: cli, go, networking.
- [aerleon](https://www.automicvault.com/de/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [bombardier](https://www.automicvault.com/de/pkg/brew/bombardier/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, go, networking.

## Combined YAML source

View the package source record on GitHub. [combined/nak.yml](https://github.com/automic-vault/db/blob/main/combined/nak.yml)


## Quellen

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
