Skip to content

Instantly share code, notes, and snippets.

@ba11b0y
Last active August 31, 2023 19:21
Show Gist options
  • Save ba11b0y/ecc1c6e32b581b68932ac7452f4c911c to your computer and use it in GitHub Desktop.
Save ba11b0y/ecc1c6e32b581b68932ac7452f4c911c 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
@abbasshams
Copy link

ممنون از راهنماییت

@WahidinAji
Copy link

Thanks

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