postman for linux code example

Example 1: install postman in linux

Install Postman in Linux

Download Postman by running following command in your Linux system:

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

Extract the downloaded file by running the following command in /opt directory:

$ sudo tar -xvzf postman-linux-x64.tar.gz -C /opt

Finally, create a symbolic link running following command in terminal:

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


For Desktop icons:

[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/home/USERNAME/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;

Example 2: install postman

$ 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