Skip to content

Instantly share code, notes, and snippets.

@tejasrsuthar
Forked from ba11b0y/installing-postman.md
Created September 10, 2020 05:47
Show Gist options
  • Save tejasrsuthar/2c8c552d593537c9c2ace33c5717bc3f to your computer and use it in GitHub Desktop.
Save tejasrsuthar/2c8c552d593537c9c2ace33c5717bc3f 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