Skip to content

Instantly share code, notes, and snippets.

@evaldobarbosa
Last active March 28, 2018 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evaldobarbosa/4f6c99d2699f25d3b434e9b4725d005b to your computer and use it in GitHub Desktop.
Save evaldobarbosa/4f6c99d2699f25d3b434e9b4725d005b to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get install libgconf-2-4 -y
POSTMAN='postman-latest.tar.gz'
if [ ! -f $POSTMAN ]; then
curl -o $POSTMAN https://dl.pstmn.io/download/latest/linux64
fi
tar zvxf $POSTMAN
POSTMAN_FOLDER=$(ls Postman*)
mv $POSTMAN_FOLDER /opt/
ln -s /opt/Postman/Postman /usr/local/bin/postman
if [ ! -f $POSTMAN ]; then
rm -rf $POSTMAN
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment