From 61277a1a750b342dd687b7f3a873ece1764c55fa Mon Sep 17 00:00:00 2001 From: lunrenyi <87307989+lunrenyi@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:21:25 +0800 Subject: [PATCH] README.md: Add x-cmd method to install lazydocker - Hi, we have implemented a lightweight [package manager using shell and awk](https://www.x-cmd.com/pkg/). It helps you download lazydocker release packages from the internet and extract them into a unified directory for management, without requiring root permissions. - **I mean, can the installation method provided by x-cmd be added to the lazydocker README?**[The installation method for the x command](https://www.x-cmd.com/start/) ```sh x env use lazydocker ``` - Furthermore, the [`x lazydocker`](https://www.x-cmd.com/pkg/lazydocker) command is provided, which automatically downloads and calls `lazydocker` without affecting the environment, such as not modifying the `PATH` variable. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 29b0a312..a31538f0 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,15 @@ You can install lazydocker using the [AUR](https://aur.archlinux.org/packages/la yay -S lazydocker ``` +### x-cmd + +[x-cmd](https://www.x-cmd.com/) is a **toolbox for Posix Shell**, offering a lightweight package manager built using shell and awk. +```sh +x env use lazydocker +``` +- Additionally, the [`x lazydocker ...`](https://www.x-cmd.com/pkg/lazydocker) command is available, which automatically download `lazydocker` without affecting the environment, such as not modifying the `PATH` variable. + + ### Docker [![Docker Pulls](https://img.shields.io/docker/pulls/lazyteam/lazydocker.svg)](https://hub.docker.com/r/lazyteam/lazydocker)