1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-16 01:48:25 +00:00

Update README-zh.md

Add x-cmd and flox method to install bat
This commit is contained in:
lunrenyi 2024-09-21 10:41:30 +08:00 committed by GitHub
parent 5d8026ec24
commit b43abdda07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -310,6 +310,24 @@ pkg_add bat
nix-env -i bat
```
### 通过 flox
你可以用 [flox](https://flox.dev) 安装`bat`
```bash
flox install bat
```
### 通过 x-cmd
你可以用 [x-cmd](https://cn.x-cmd.com) 安装`bat`
```bash
x env use bat
# or
x bat
```
### openSUSE
你可以用 zypper 安装`bat`