nak

CLI tool for interacting with Nostr protocol and managing keys

brewmacoslinux
Try with needOr install directly
Source

About

CLI for doing all things nostr

Commands

nak

Examples

Generate a new Nostr keypair$ nak key generate
Publish an event to a Nostr relay$ nak event publish --content 'Hello Nostr' --kind 1
Query events from a relay$ nak event query --authors <npub> --limit 10