Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitAuto: Adding a new installation method to the README #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the x-cmd package manager is well-documented and supported, as users will rely on it for installation. Consider adding a brief note about any prerequisites or compatibility issues that might affect users.


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