diff --git a/README.md b/README.md index 6c69ce4..0003359 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,22 @@ A πŸ‡¨πŸ‡³ and πŸ‡ΊπŸ‡ΈπŸ‡¬πŸ‡§ translator in your command line, powered by iciba and groq. +## Install via x-cmd + +You can also install `fanyi` using the lightweight `x-cmd` package manager. This method does not require root permissions and is suitable for users who prefer a simple installation process. + +```bash +x env use fanyi +``` + [![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] +For more information, you can refer to the [demo and article](https://www.x-cmd.com/pkg/fanyi) or watch the [Bilibili video](https://www.bilibili.com/video/BV1RQ16YbEkD/). These resources provide additional guidance on using `fanyi` with `x-cmd`. + + [npm-image]: http://img.shields.io/npm/v/fanyi.svg?style=flat-square [npm-url]: http://npmjs.org/package/fanyi [github-actions-image]: https://github.com/afc163/fanyi/actions/workflows/test.yml/badge.svg