From 926ab3a40b12e6645da5ed5376fbbd1cae0f0645 Mon Sep 17 00:00:00 2001 From: Guruprasad Kulkarni Date: Fri, 18 Jun 2021 14:21:56 +0200 Subject: [PATCH] Moved the asdf instructions above binary releases --- README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a22d020e..acc7e2c0 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,20 @@ You can install `lazydocker` using [Chocolatey](https://chocolatey.org/): ```sh choco install lazydocker ``` +### asdf-vm + +You can install [asdf-lazydocker plugin](https://github.com/comdotlinux/asdf-lazydocker) using [asdf-vm](https://asdf-vm.com/): +#### Setup (Once) +```sh +asdf plugin add https://github.com/comdotlinux/asdf-lazydocker.git +``` + +#### For Install / Upgrade +```sh +asdf list all lazydocker +asdf install lazydocker 0.12 +asdf global lazydocker 0.12 +``` ### Binary Release (Linux/OSX/Windows) @@ -81,15 +95,6 @@ Automated install/update, don't forget to always verify what you're piping into ```sh curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash ``` - -#### Or Use [asdf-vm](https://asdf-vm.com/) to install the [asdf-lazydocker plugin](https://github.com/comdotlinux/asdf-lazydocker) once and then keep updating to get the latest version whenever you want. -```sh -asdf plugin add https://github.com/comdotlinux/asdf-lazydocker.git -asdf list all lazydocker -asdf install lazydocker 0.12 -asdf global lazydocker 0.12 -``` - The script installs downloaded binary to `/usr/local/bin` directory by default, but it can be changed by setting `DIR` environment variable. ### Go