Last active
October 8, 2024 04:13
-
-
Save gmolveau/8fcdb5e953bd6c9dad18ecd39b9718a4 to your computer and use it in GitHub Desktop.
ubuntu/debian diff-so-fancy install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LATEST_VERSION=$(curl -s https://api.github.com/repos/so-fancy/diff-so-fancy/releases/latest | grep -Po '"tag_name": "v\K[^"]*') | |
sudo curl -L -o /usr/local/bin/diff-so-fancy "https://github.com/so-fancy/diff-so-fancy/releases/download/v${LATEST_VERSION}/diff-so-fancy" | |
sudo chmod +x /usr/local/bin/diff-so-fancy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment