Skip to content

Instantly share code, notes, and snippets.

@sunjayaali
Forked from ba11b0y/installing-postman.md
Last active September 18, 2019 07:09
Show Gist options
  • Select an option

  • Save sunjayaali/15056ee045417e7f8f678178dc7e1a78 to your computer and use it in GitHub Desktop.

Select an option

Save sunjayaali/15056ee045417e7f8f678178dc7e1a78 to your computer and use it in GitHub Desktop.
Installing Postman on Ubuntu

Tested on 18.04. Download postman from https://dl.pstmn.io/download/latest/linux

Installing Postman

tar -xzf Postman-linux-<VERSION>.tar.gz

If any version is installed before, remove it.

sudo rm -rf /opt/Postman

Move Postman

sudo mv Postman /opt/Postman

Create a symbolic link

sudo ln -s /opt/Postman/Postman /usr/bin/postman

Create a desktop file

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

Remove the tar:

rm Postman-linux-<VERSION>.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment