How to Install Postman on Linux Desktop

Postman is the most popular collaboration platform for API (Application Programming Interface) development, which is used by 10 million developers and 500,000 companies all over the world. The Postman API platform offers features that simplify API development and offers a wide range of tools that enable teams to share and collaborate on APIs.

Postman is available as a native app for all major operating systems, including Linux (32-bit / 64-bit), macOS, and Windows (32-bit / 64-bit) and on the web at go.postman.co/build.

This article guides you in different ways of installing the Postman desktop application on Ubuntu, Debian, Linux Mint and Fedora distributions.

Supported Platforms

Postman supports the following distributions:

  • Ubuntu 12.04 and newer
  • Debian 8 and newer
  • Linux Mint 18 and newer
  • Fedora 30 and newer

Installing Postman on Linux Desktop

To install the latest version of the Postman desktop app, you need to install it via the Snap using the following commands.

Install Postman in Debian and Ubuntu

$ sudo apt update
$ sudo apt install snapd
$ sudo snap install postman

Install Postman in Linux Mint

$ sudo rm /etc/apt/preferences.d/nosnap.pref
$ sudo apt update
$ sudo apt install snapd
$ sudo snap install postman

Install Postman in Fedora Linux

$ sudo dnf install snapd
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install postman

You can also manually install the latest version of the Postman desktop app by downloading it from a web browser to quickly start using it.

Download Postman Desktop App
Download Postman Desktop App

Then move into the Downloads directory, extract the archive file, move it into /opt/apps directory, create a symlink called /usr/local/bin/postman to access the Postman command, and run postman as follows:

$ cd Downloads/
$ tar -xzf Postman-linux-x64-7.32.0.tar.gz
$ sudo mkdir -p /opt/apps/
$ sudo mv Postman /opt/apps/
$ sudo ln -s /opt/apps/Postman/Postman /usr/local/bin/postman
$ postman
Postman Desktop App
Postman Desktop App

To start the app from a launcher icon, you need to create a .desktop file (a shortcut that is used to launch an application in Linux) for Postman desktop app and save it in the following location.

$ sudo vim /usr/share/applications/postman.desktop

Then copy and paste the following configurations in it (ensure that the file paths are correct depending on where you extracted the files):

[Desktop Entry]
Type=Application
Name=Postman
Icon=/opt/apps/Postman/app/resources/app/assets/icon.png
Exec="/opt/apps/Postman/Postman"
Comment=Postman Desktop App
Categories=Development;Code;

Save the file and close it.

If the file paths are correct, when you try to search for the postman in the system menu, its icon should appear.

Postman Desktop Launcher
Postman Desktop Launcher

Removing Postman on Linux Desktop

You can remove the Postman desktop client from your system as follows. If you installed the Postman snap, you can remove it as shown.

$ sudo snap remove postman

If you installed it using the manual method, you can remove it by running the following commands:

$ sudo rm -rf /opt/apps/Postman && rm /usr/local/bin/postman
$ sudo rm /usr/share/applications/postman.desktop

For more information, got to the Postman website. Use the feedback form below to share any queries.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

4 Comments

Leave a Reply
  1. Using Snap on Centos 8 Stream I had to do this

    [Desktop Entry]
    Encoding=UTF-8
    Name=Postman
    Exec=/var/lib/snapd/snap/bin/postman %U
    Icon=/var/lib/snapd/snap/postman/140/usr/share/Postman/resources/app/assets/icon.png
    Terminal=false
    Type=Application
    Categories=Development;
    

    It is easiest to find the Exec and Icon location by using `which postman` and `locate /Postman/resources/app/assets/icon.png`

    Reply
  2. For linux mint 20 (Ulyana)

    [Desktop Entry]
    Type=Application
    Name=Postman
    Icon=/opt/Postman/app/resources/app/assets/icon.png
    Exec="/opt/Postman/Postman"
    Comment=Postman Desktop App
    Categories=Development;Code;
    
    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.