Skip to content

Instantly share code, notes, and snippets.

@developeryashraj
Forked from ba11b0y/installing-postman.md
Last active December 7, 2019 06:09
Show Gist options
  • Save developeryashraj/64b680b5dbb914c5ffe2e64274e076cb to your computer and use it in GitHub Desktop.
Save developeryashraj/64b680b5dbb914c5ffe2e64274e076cb to your computer and use it in GitHub Desktop.

Revisions

  1. developeryashraj revised this gist Dec 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion installing-postman.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux

    Go to Download folder -> "right click" -> "Open in Terminal"
    Go to `Download folder -> "right click" -> "Open in Terminal"`

    #### Installing Postman (Verify your version of file in below command)

  2. developeryashraj revised this gist Dec 7, 2019. 1 changed file with 17 additions and 16 deletions.
    33 changes: 17 additions & 16 deletions installing-postman.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,11 @@
    Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux

    Although I highly recommend using a snap
    Go to Download folder -> "right click" -> "Open in Terminal"

    `sudo snap install postman`

    #### Installing Postman
    #### Installing Postman (Verify your version of file in below command)

    ```sh
    tar -xzf Postman-linux-x64-5.3.2.tar.gz
    tar -xzf Postman-linux-x64-7.13.0.tar.gz
    ```
    If any version is installed before, remove it.
    ```sh
    @@ -17,26 +15,29 @@ Move Postman
    ```sh
    sudo mv Postman /opt/Postman
    ```
    Create a symbolic link
    ```sh
    sudo ln -s /opt/Postman/Postman /usr/bin/postman
    ```
    Create a desktop file
    ```
    cat > ~/.local/share/applications/postman.desktop <<EOL
    cat > 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
    Comment=Version Control Tool
    Exec=/opt/Postman/Postman
    Terminal=false
    Type=Application
    Categories=Development;
    # Before v6.1.2
    # Icon=/opt/Postman/resources/app/assets/icon.png
    Icon=/opt/Postman/app/resources/app/assets/icon.png
    MimeType=application/vnd.mysql-workbench-model;
    Categories=GTK;Database;Development;
    EOL
    ```
    Move Desktop file:
    ```sh
    sudo mv postman.desktop /usr/share/applications/
    ```
    Remove the tar:
    ```sh
    rm Postman-linux-x64-5.3.2.tar.gz
    rm Postman-linux-x64-7.13.0.tar.gz
    ```
    You're Done !
  3. @ba11b0y ba11b0y revised this gist Nov 11, 2019. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion installing-postman.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,9 @@
    Since Chrome apps are now being depracated. Download postman from https://dl.pstmn.io/download/latest/linux
    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

    ```sh
  4. @ba11b0y ba11b0y revised this gist Nov 11, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion installing-postman.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,9 @@ cat > ~/.local/share/applications/postman.desktop <<EOL
    Encoding=UTF-8
    Name=Postman
    Exec=postman
    Icon=/opt/Postman/resources/app/assets/icon.png
    # 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;
  5. @ba11b0y ba11b0y created this gist Nov 25, 2017.
    35 changes: 35 additions & 0 deletions installing-postman.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    Since Chrome apps are now being depracated. Download postman from https://dl.pstmn.io/download/latest/linux
    #### Installing Postman

    ```sh
    tar -xzf Postman-linux-x64-5.3.2.tar.gz
    ```
    If any version is installed before, remove it.
    ```sh
    sudo rm -rf /opt/Postman
    ```
    Move Postman
    ```sh
    sudo mv Postman /opt/Postman
    ```
    Create a symbolic link
    ```sh
    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
    Icon=/opt/Postman/resources/app/assets/icon.png
    Terminal=false
    Type=Application
    Categories=Development;
    EOL
    ```
    Remove the tar:
    ```sh
    rm Postman-linux-x64-5.3.2.tar.gz
    ```