# Dict-Shell **Repository Path**: mirrors/Dict-Shell ## Basic Information - **Project Name**: Dict-Shell - **Description**: Dict 介绍     dict 是使用 bash 脚本编写的一个命令行单词查询工具,使用百度翻译接口 - **Primary Language**: Shell - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/dict-shell - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-09-04 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## dict 介绍 dict 是使用 bash 脚本编写的一个命令行单词查询工具,使用百度翻译接口。 ## dict 安装 复制下面命令到终端中执行即可: ``` curl -# -O https://raw.githubusercontent.com/whinc/dict/master/dict.sh && chmod u+x ./dict.sh && mv ./dict.sh /usr/local/bin/ && ln -fs /usr/local/bin/dict{.sh,} ``` ## dict 使用 用法:`dict [word]...` 说明:如果只有一个单词,则翻译该单词。如果有超过一个单词,则视作句子进行翻译。 ``` $ dict hello 你好 $ dict hello world 你好世界 ```