Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Suggested Installation Docs update for Ubuntu #1862

Open
JWCS opened this issue Sep 18, 2024 · 1 comment
Open

🚀 Suggested Installation Docs update for Ubuntu #1862

JWCS opened this issue Sep 18, 2024 · 1 comment

Comments

@JWCS
Copy link

JWCS commented Sep 18, 2024

Every package manager has git-delta... except ubuntu. But, having used https://github.com/wagoodman/dive before, they have a smart installation suggestion for their latest debs. I tried it out for delta, and it worked pretty slick, low fuss. I've reproduced it below.

DELTA_VERSION=$(curl -sL "https://api.github.com/repos/dandavison/delta/releases/latest" | awk -F\" '/"tag_name":/{print $(NF-1)}')
mkdir -p ~/Downloads && cd ~/Downloads
# Replace 'git-delta' below with 'git-delta-musl' for musl
curl -OL https://github.com/dandavison/delta/releases/download/${DELTA_VERSION}/git-delta_${DELTA_VERSION}_amd64.deb
sudo apt install ./git-delta_${DELTA_VERSION}_amd64.deb
cd -
@itse4elhaam
Copy link

Just used this after struggling for a while to find something else, thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants