Skip to content

Instantly share code, notes, and snippets.

@ARACOOOL
Created June 28, 2018 15:08
Show Gist options
  • Save ARACOOOL/dde0912b435cf11dfcc9d31af43442e7 to your computer and use it in GitHub Desktop.
Save ARACOOOL/dde0912b435cf11dfcc9d31af43442e7 to your computer and use it in GitHub Desktop.
Postman updater allows you to update your Postman without a headache
#!/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!"
@ARACOOOL
Copy link
Author

Do not forget to run this command before run the script sudo chmode -X postman_updater.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment