jesseduffield / jesseduffield/lazygit

Error installing lazygit on WSL Ubuntu 24.4

Open
#5,006 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

I try installing lazygit on my ubuntu wsl with the command provided on the main page i get the following error
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"
tar xf lazygit.tar.gz lazygit
sudo install lazygit -D -t /usr/local/bin/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7743k 100 7743k 0 0 10.7M 0 --:--:-- --:--:-- --:--:-- 10.7M
tar: lazygit: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors

i tryed with setting up a wsl from scratch but i got the same error, would be nice if someone could help me ty :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.