sunhat/install/lazydocker.sh

8 lines
406 B
Bash
Raw Normal View History

2024-05-25 15:52:00 -05:00
cd ~/Downloads
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
2024-05-26 17:20:50 -05:00
curl -sLo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz"
tar -xf lazydocker.tar.gz lazydocker
2024-05-25 15:52:00 -05:00
sudo install lazydocker /usr/local/bin
rm lazydocker.tar.gz
cd -