Last active
October 31, 2019 17:10
-
-
Save kognise/52d45fe863e3e8333454d5c2cc72a572 to your computer and use it in GitHub Desktop.
A small script to install Repl.it's UPM on Linux
This file contains 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
upm_version=`curl -s "https://api.github.com/repos/replit/upm/releases/latest" | grep -Pom 1 '"tag_name": "v\K[^"]*'` | |
wget "https://github.com/replit/upm/releases/download/v${upm_version}/upm_${upm_version}_linux_amd64.deb" | |
sudo apt-get install ./upm_${upm_version}_linux_amd64.deb | |
rm ./upm_${upm_version}_linux_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment