Install Postman native app in Ubuntu

Postman is one of the most popular tools used for API testing during the development environment.

It started in 2012 as a side project by Abhinav Asthana(Postman’s CEO and co-founder) to simplify API workflow in testing and development by uploading his project to the Chrome Web Store.

With Postman you can design, mock, debug, test, document, monitor, and publish your APIs all in one place.

Install Postman native

  1. Download Postman via wget

64-bit

wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz

32-bit

wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
  1. Extract Postman via tar

Extracting to /opt

sudo tar -xzf postman.tar.gz -C /opt
  1. Remove downloaded file(optional)
rm postman.tar.gz
  1. Creating a symbolic link
sudo ln -s /opt/Postman/Postman /usr/bin/postman

Remove existing link with below command if you face any error while creating, then recreate it again

sudo rm -f /usr/bin/postman
  1. Creating a launcher icon

Either Ubuntu will create a launcher icon for you or else you will have to do it yourself.

With the below code, you can create it.

cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Version=1.2
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Network;WebBrowser;Development;
MimeType=text/html
EOL

Its all done now. Open with your launcher

You may need to log in back to your account if it does not appear.

Update Postman native

Remove Older Version of Postman

sudo rm --recursive --force /opt/Postman

Delete the Postman symlink

sudo rm /usr/bin/postman

After removing postman follow steps for installing the latest version of Postman in Ubuntu

Vishnu Damwala
Vishnu Damwala

A web geek, an industry experienced web developer & tutor/instructor residing in India 🇮🇳