Skip to content

Instantly share code, notes, and snippets.

@doituikhovai
Created August 8, 2018 07:45
Show Gist options
  • Save doituikhovai/0f28ec8078bee015ae2d80d1036ccd15 to your computer and use it in GitHub Desktop.
Save doituikhovai/0f28ec8078bee015ae2d80d1036ccd15 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Get postman app
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
#Create a Desktop Entry
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/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