Play Forvo pronunciations straight from your terminal.
Install forvo-cli with cargo1
cargo install forvo-cli
forvo-cli -w <word> [-v]
e.g.:
forvo-cli -w torvalds -v
The audio is currently auto-played only on macOS. On other platforms they are just downloaded inside the /tmp
folder.
1 Requires the Rust toolchain (fairly lightweight) https://www.rust-lang.org/tools/install