Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ You can install lazydocker using the [AUR](https://aur.archlinux.org/packages/la
yay -S lazydocker
```

### Install Automatic
chmod +x install_lazydocker.sh
./install_lazydocker.sh
source ~/.bashrc
lazydocker


### Docker

[![Docker Pulls](https://img.shields.io/docker/pulls/lazyteam/lazydocker.svg)](https://hub.docker.com/r/lazyteam/lazydocker)
Expand Down
17 changes: 17 additions & 0 deletions install_lazydocker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

go install github.com/jesseduffield/lazydocker@latest


# Baixa e instala o lazydocker
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash

# Adiciona $HOME/go/bin ao PATH no bashrc se ainda não existir
if ! grep -q 'export PATH="$HOME/go/bin:$PATH"' ~/.bashrc; then
echo 'export PATH="$HOME/go/bin:$PATH"' >> ~/.bashrc
echo '[+] Adicionado $HOME/go/bin ao PATH no ~/.bashrc'
fi

echo -e "\n✅ Instalação concluída!"
echo "⚠️ Execute: source ~/.bashrc"
echo "📦 Depois, rode: lazydocker"