Description
kd is a command-line dictionary for Linux, macOS and Windows, written in Go. You look up a word or a phrase from the terminal and get the definition, and the tool can also translate longer sentences with -t and read a word aloud with -s. It ships as a single file with no runtime dependencies, and the local dictionary of more than 100,000 entries can be used offline. The database is downloaded in the background the first time the program runs. Other features include a pure-English mode that shows only English definitions and example sentences, a reminder when you look up the same word several times that also adds it to a vocabulary list, and a one-command update with kd --update. Identifiers written in camel case or snake case can be split into words before lookup if you turn on the matching option. Configuration covers the proxy, colors and other settings. The project is installed with a script on Linux and macOS, from a PowerShell command on Windows, or from AUR on Arch Linux. It can also be compiled from source with CGO disabled, and the README gives Termux on Android as a tested route.…
Highlights
- Single-file command-line dictionary with no dependencies
- Offline local dictionary of more than 100,000 entries
- Sentence translation with -t and reading aloud with -s
- Vocabulary list for words you look up repeatedly
- Installs on Linux, macOS, Windows and Arch Linux
Ratings & Reviews
No ratings yet
Be the first to rate KD.
People also visit
KD FAQ
Does it work offline?
Yes for words and phrases in the local dictionary. The database is downloaded in the background the first time the program runs.
How do I install it?
Run the install script on Linux or macOS, paste the PowerShell command on Windows, or install kd-bin from AUR on Arch Linux.
Can it translate sentences?
Yes. Use the -t option to translate a longer sentence, and -s to hear a word read aloud.
Does it use AI?
The project describes itself as a focused command-line dictionary and says it will not grow into an AI tool, agent or GUI application.
What are the best KD alternatives?
Popular alternatives to KD include Wikit, Medict and Jitendex. See all KD alternatives

