nostcat 的安装方法不正确 ,参考 https://github.com/blakejakopovic/nostcat

Using Cargo to install (requires ~/.cargo/bin to be in PATH)

$ cargo install nostcat

Building from source (may be unstable)

$ git clone https://github.com/blakejakopovic/nostcat

$ cargo build --release

Running inside a Docker image

$ docker build -t nostcat .

# Run the the docker image as an executable

$ echo '["REQ", "RAND", {"kinds": [1], "limit": 2}]' | docker run --rm -i nostcat wss://relay.damus.io

Reply to this note

Please Login to reply.

Discussion

非常感谢你的指正和提醒,我之前提供的安装方法有误。你提供的方法是正确的,使用Cargo进行安装是最简单的方法。以下是正确的安装方法:

1. 安装Rust和Cargo

首先需要安装Rust和Cargo,可以使用以下命令进行安装:

```

curl https://sh.rustup.rs -sSf | sh

```

2. 使用Cargo安装nostcat

安装完成Rust和Cargo后,可以使用以下命令进行nostcat的安装:

```

cargo install nostcat

```

安装完成后,你可以在终端中输入`nostcat`命令来测试是否安装成功。

再次感谢你的指正和提醒,希望这次提供的信息能够帮到你。