From 5d8026ec24090af3401fabd8004ffecf319b8304 Mon Sep 17 00:00:00 2001 From: lunrenyi <87307989+lunrenyi@users.noreply.github.com> Date: Sat, 21 Sep 2024 10:25:31 +0800 Subject: [PATCH] Update README.md Add x-cmd method to install bat --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 016fe83427..b9a53aa6a5 100644 --- a/README.md +++ b/README.md @@ -381,6 +381,16 @@ You can install `bat` using [Flox](https://flox.dev) flox install bat ``` +### Via x-cmd + +You can install `bat` using [x-cmd](https://www.x-cmd.com/) + +```bash +x env use bat +# or +x bat +``` + ### On openSUSE You can install `bat` with zypper: