Skip to content

Instantly share code, notes, and snippets.

@petitJAM
Last active February 21, 2018 16:00
Show Gist options
  • Save petitJAM/aebbdeb470440d619e15194bbadd7c4c to your computer and use it in GitHub Desktop.
Save petitJAM/aebbdeb470440d619e15194bbadd7c4c to your computer and use it in GitHub Desktop.
Small script for updating Postman
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 ln -sf /opt/Postman/Postman /usr/bin/postman
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment