-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
mendsec edited this page Jun 23, 2026
·
1 revision
- Go 1.26 or later (for source builds only)
- Linux, macOS, or Windows (amd64 or arm64)
- Root / administrator privileges for ICMP scanning on some systems — ICMP ping requires raw socket access. See Security for details.
Linux / macOS
curl -sSL https://github.com/mendsec/catnet/releases/latest/download/catnet_Linux_x86_64.tar.gz | tar xz sudo mv catnet /usr/local/bin/ catnet version
Windows
- Download
catnet_Windows_x86_64.zipfrom the Releases page.- Extract the archive.
- Add the extracted folder to your
PATH.- Verify:
catnet.exe version
Always verify your download against the checksums.txt file published with each release:
sha256sum -c checksums.txtgo install github.com/mendsec/catnet/cmd/catnet@latestThis installs the HEAD of the default branch. For reproducible builds, pin to a specific tag:
go install github.com/mendsec/catnet/cmd/catnet@v0.2.0
git clone https://github.com/mendsec/catnet.git
cd catnet
go build -o catnet ./cmd/catnet
./catnet versionTo inject a specific version string at build time:
go build -ldflags "-X github.com/mendsec/catnet/internal/cli.Version=v0.2.0" -o catnet ./cmd/catnetNote
Homebrew tap is planned for Milestone M7. Subscribe to issue #10 for updates.
Preview command (not yet available):
brew install mendsec/tap/catnetcatnet completion bash > /etc/bash_completion.d/catnet
# or for user-level:
mkdir -p ~/.local/share/bash-completion/completions
catnet completion bash > ~/.local/share/bash-completion/completions/catnetcatnet completion zsh > "${fpath[1]}/_catnet"
# or add to ~/.zshrc:
mkdir -p ~/.zsh/completion
catnet completion zsh > ~/.zsh/completion/_catnet
echo 'fpath=(~/.zsh/completion $fpath)' >> ~/.zshrccatnet completion fish > ~/.config/fish/completions/catnet.fishcatnet completion powershell > $PROFILE
# or to a specific script:
catnet completion powershell > catnet-completion.ps1Restart your shell after installing completion scripts.
- Binary: re-run the install step; binaries are statically linked and overwrite cleanly.
-
go install: re-run with the new@vX.Y.Ztag.
© 2026 Fábio Mendes · MIT License · catnet · catnet-core · Report an issue
catnet Wiki
Getting Started
Reference
Guides
Project