Tango(単語) is a local command-line Japanese dictionary tool using yomichan's dictionary files.
If you use Homebrew you can:
brew install masakichi/tap/tango
For Go 1.16+
go install github.com/masakichi/tango@latest
Or use go get
GO111MODULE=on go get github.com/masakichi/tango
After install tango, you will need to import dictionaries as you wish.
Dictionariy zip files can be found in yomichan's homepage: https://foosoft.net/projects/yomichan/index.html#dictionaries
You can directly import the downloaded dictionary zip file by calling tango -import path_to_dictionary.zip
.
$ tango -h
tango: A CLI Japanese Dictionary Tool
Usage: tango 単語
Other Commands of tango:
-import string
import yomichan's dictionary zip file
-list
list all dictionaries
-version
print tango app version