Installation
Choose the installer for your platform or install from source if you want to build the CLI locally.
curl --proto '=https' --tlsv1.2 -LsSf https://odict.org/install.sh | shThis shell installer downloads the latest release binary for macOS or Linux.
brew install TheOpenDictionary/odict/odictHomebrew is the simplest option on macOS.
powershell -ExecutionPolicy ByPass -c "irm https://github.com/TheOpenDictionary/odict/releases/latest/download/odict-installer.ps1 | iex"git clone https://github.com/TheOpenDictionary/odict.gitcd odict# Requires Rust 1.75+.cargo install --path cliVerify the CLI
Section titled “Verify the CLI”odict --versionLanguage bindings
Section titled “Language bindings”Install the package for the language you are using.
pip install theopendictionaryRequires Python 3.8.1+. See the Python API docs for usage.
npm install @odict/nodeRequires Node.js 12+. The package includes native binaries for all major platforms. See the JavaScript API docs for usage.
Add the crate to your Cargo.toml:
[dependencies]odict = "3"See the Rust API docs for usage and feature flags.