Clone the repo and run the following command in the repo folder. You must have Rust installed to compile this.
cargo install nostr-tool
cargo build --release
docker build -t nostr-tool .
docker pull 0xtr/nostr-tool:0.3.0
nix develop
cargo build --release