Skip to content

Instantly share code, notes, and snippets.

@sushantlp
Forked from ba11b0y/installing-postman.md
Created February 23, 2020 08:51
Show Gist options
  • Save sushantlp/1d24a268376a3d4ab9b728eb61005542 to your computer and use it in GitHub Desktop.
Save sushantlp/1d24a268376a3d4ab9b728eb61005542 to your computer and use it in GitHub Desktop.
Installing Postman on Ubuntu/Gnome

Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux

Although I highly recommend using a snap

sudo snap install postman

Installing Postman

tar -xzf Postman-linux-x64-5.3.2.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
# Before v6.1.2
# Icon=/opt/Postman/resources/app/assets/icon.png
Icon=/opt/Postman/app/resources/app/assets/icon.png 
Terminal=false
Type=Application
Categories=Development;
EOL

Remove the tar:

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