Skip to content

Instantly share code, notes, and snippets.

@prrao87
Last active April 29, 2024 15:34
Show Gist options
  • Star 42 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save prrao87/114933c4638a4f77aa3d4b2c5a3b2477 to your computer and use it in GitHub Desktop.
Save prrao87/114933c4638a4f77aa3d4b2c5a3b2477 to your computer and use it in GitHub Desktop.
Install Postman on Linux Mint (without using snap)

Goal

Postman is a usefull app to build and test APIs, most commonly installed on ubuntu-like systems via snap. On recent distributions of Linux Mint (20 and above), snap installs are no longer possible. The instructions below show how to install Postman via the terminal.

Download Postman

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

Extract archive

$ sudo tar -xzf postman.tar.gz -C /opt

Make symlink

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

Optional: Remove downloaded file

$ rm postman.tar.gz

Make Desktop icon

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

[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;
@pekingPow
Copy link

pekingPow commented Feb 8, 2023

Newest solution as of Nov 2023:
If vim is not installed by default then substitute vim with nano like this:

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

Big thanks to:
Sidheeqpallam

"Hindsight is 20 / 20"
@pekingPow

Older comment from Feb of 2023:

Worked for me with some final tweaking. (Using Linux Mint 20; vim was not installed by default.)

Make Desktop icon

Step by step vi instructions:

  1. Copy

[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;

  1. $ sudo vi /usr/share/applications/postman.desktop
  2. "Right click paste" into postman.desktop
  3. Press ESC
  4. Type : x enter

@Ranondorf
Copy link

Works on Linux Mint 21.

@furqanalishah
Copy link

thanks. Works like a charm. ❤️

@getsonm
Copy link

getsonm commented Nov 3, 2023

Thanks!

@Sidheeqpallam
Copy link

use nano instead of vim. nano is installed by default.

@hvieira512
Copy link

Thanks! Worked Perfectly in Linux Mint 21.

@SegundoPaladines
Copy link

Works in Linux Mint.

@felipe-marques-aloware
Copy link

works now on 2024 ..thanks man!

@Fa11enSky
Copy link

thx 😘

@jasser21
Copy link

Thanks, That was helpful, time-saving!

@MuhitKhanTaosif
Copy link

Thanks, It's very helpfull

@manucabello
Copy link

Works on Linux Mint 21.3 Cinnamon in February 2024. Thanks!

@Jekahome
Copy link

Jekahome commented Mar 1, 2024

Thanks. it's worked for me

@ralphsbaesso
Copy link

Thanks!!!

@rizkyhaksono
Copy link

Thanks! <3

@lcarlosilva
Copy link

it's worked for me on ubuntu 22.04.4 LTS.
Thanks man!
<3

@RafaelJCamara
Copy link

It worked for me!
Linux Mint 21.3

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment