Skip to content

Instantly share code, notes, and snippets.

@ryanhs
Forked from Akhil-Suresh/postman_installation.md
Created October 7, 2023 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanhs/ab4f5538b1126a5a2c0a9f2d3afb122f to your computer and use it in GitHub Desktop.
Save ryanhs/ab4f5538b1126a5a2c0a9f2d3afb122f to your computer and use it in GitHub Desktop.
Installing Postman on Ubuntu/Debian

Installing Postman

Step 1

If any version of postman is installed we need to remove it

sudo rm -rf /opt/Postman

Step 2

This will install postman to /tmp directory and move it to /opt/ directory.

tar -C /tmp/ -xzf <(curl -L https://dl.pstmn.io/download/latest/linux64) && sudo mv /tmp/Postman /opt/

Step 3

Create a desktop file

sudo tee -a /usr/share/applications/postman.desktop << END
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/opt/Postman/Postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment