Skip to content

Instantly share code, notes, and snippets.

@MatteoGauthier
Last active July 19, 2024 08:30
Show Gist options
  • Save MatteoGauthier/4ba0dfab5bfaf0013cd7402a4373dc4f to your computer and use it in GitHub Desktop.
Save MatteoGauthier/4ba0dfab5bfaf0013cd7402a4373dc4f to your computer and use it in GitHub Desktop.
Quick Installs - Softwares, utils used frequently (macOS and Unix installs)

Quick Installs - Softwares, utils used frequently (macOS and Unix installs)

Tools

macOS

brew install lazydocker dua-cli duf fzf lazygit bat

Debian / Ubuntu

sudo apt install fzf
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
curl -LSfs https://raw.githubusercontent.com/Byron/dua-cli/master/ci/install.sh | \
    sh -s -- --git Byron/dua-cli --target x86_64-unknown-linux-musl --crate dua --tag v2.29.0
apt install duf
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
sudo apt install bat

Additional configurations

echo "alias lg='lazygit'" >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment