Installation
Install wiki with Go, Homebrew, Scoop, a Linux package, Docker, or a prebuilt binary.
wiki ships as a single static binary for Linux, macOS, Windows, and FreeBSD on amd64 and arm64. Pick whichever method fits your setup.
Go
go install github.com/tamnd/wikipedia-cli/cmd/wiki@latest
The binary lands in $(go env GOPATH)/bin. Requires Go 1.26 or newer.
Homebrew
Once the tap is published:
brew install tamnd/tap/wiki
Scoop (Windows)
scoop bucket add tamnd https://github.com/tamnd/scoop-bucket
scoop install wiki
Linux packages
Download the .deb, .rpm, or .apk for your architecture from the
releases page and install it:
sudo dpkg -i wiki_*_linux_amd64.deb # Debian / Ubuntu
sudo rpm -i wiki_*_linux_amd64.rpm # Fedora / RHEL
sudo apk add --allow-untrusted wiki_*_linux_amd64.apk # Alpine
Docker
docker run --rm ghcr.io/tamnd/wiki read "Alan Turing"
Mount a volume to keep the cache and downloads between runs:
docker run --rm -v ~/data/wiki:/data ghcr.io/tamnd/wiki \
dump list --wiki simplewiki
Prebuilt binary
Grab the archive for your platform from the
releases page, extract it,
and put wiki on your PATH:
tar xzf wiki_*_linux_amd64.tar.gz
sudo mv wiki /usr/local/bin/
Every release also carries checksums.txt, a cosign signature, and a
CycloneDX SBOM per archive if you want to verify what you downloaded.
Verify
wiki version
wiki read "Wikipedia" --summary
Next: the quick start.