Skip to content

Commit

Permalink
Update README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
gitauto-ai[bot] authored Oct 11, 2024
1 parent d2413ad commit 82cbe99
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82cbe99

Please sign in to comment.