Created
June 28, 2018 15:08
-
-
Save ARACOOOL/dde0912b435cf11dfcc9d31af43442e7 to your computer and use it in GitHub Desktop.
Postman updater allows you to update your Postman without a headache
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
#!/usr/bin/env bash | |
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz | |
sudo tar -xzf postman.tar.gz -C /opt | |
rm postman.tar.gz | |
sudo rm /usr/bin/postman | |
sudo ln -s /opt/Postman/Postman /usr/bin/postman | |
echo "Postman updated!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do not forget to run this command before run the script
sudo chmode -X postman_updater.sh