Forked from Bobmajor/gist:319e89e9c876cccdb1b77f1783e9a820
Last active
March 3, 2021 05:16
-
-
Save nothub/a5bb1f0ae34ec155fe73c63931150d09 to your computer and use it in GitHub Desktop.
install postman without snap
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
#!/usr/bin/env bash | |
set -e | |
wget -O /tmp/postman.tar.gz https://dl.pstmn.io/download/latest/linux64 | |
sudo rm -rf /opt/Postman/ && sudo tar xvf /tmp/postman.tar.gz -C /opt/ | |
sudo ln -sf /opt/Postman/app/Postman /usr/bin/postman | |
rm /tmp/postman.tar.gz | |
cat << EOF > ~/.local/share/applications/postman.desktop | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Postman | |
X-GNOME-FullName=Postman API Client | |
Exec=/usr/bin/postman | |
Icon=/opt/Postman/app/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Development; | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment