Skip to content

Error installing lazygit on WSL Ubuntu 24.4 #5006

@Eulenberg

Description

@Eulenberg

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions