From 8fa1209ac86b3c102363a8d929dfd38dac27d1a5 Mon Sep 17 00:00:00 2001 From: Miika Tuominen Date: Wed, 18 Mar 2026 12:29:59 +0200 Subject: [PATCH] Make Debian/Ubuntu install command architecture-independent --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e2ddbbda0..624153534 100644 --- a/README.md +++ b/README.md @@ -356,7 +356,8 @@ For **Debian 12 "Bookworm", Ubuntu 25.04 "Plucky Puffin"** and earlier: ```sh 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/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" +LAZYGIT_ARCH=$(uname -m | sed -e 's/aarch64/arm64/') +curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_${LAZYGIT_ARCH}.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit -D -t /usr/local/bin/ ```