Skip to content
csdn

Installation

Get the csdn binary.

Homebrew

brew install tamnd/tap/csdn

Pre-built binaries

Download the archive for your platform from Releases, extract it, and place csdn on your $PATH. Each release carries archives for Linux, macOS, Windows, and FreeBSD across amd64 and arm64, with a signed checksums.txt you can verify with keyless cosign.

Go

go install github.com/tamnd/csdn-cli/cmd/csdn@latest

That puts csdn in $(go env GOPATH)/bin, which is ~/go/bin unless you moved it. Make sure that directory is on your $PATH.

Docker

docker run --rm ghcr.io/tamnd/csdn:latest hot

Linux packages

deb, rpm, and apk packages are available on the Releases page.

Shell completion

csdn completion bash    # or zsh, fish, powershell

Run csdn completion <shell> --help for where to install the script.

Checking the install

csdn version

prints the version and exits.