Skip to content

Instantly share code, notes, and snippets.

View maqnouch's full-sized avatar

Mohammed maqnouch

View GitHub Profile
@maqnouch
maqnouch / postman-update.sh
Created October 3, 2020 00:58 — forked from lira/postman-update.sh
Install/Update postman or postman canary (beta) for linux. Tested in ubuntu 17.10 gnome3
#!/bin/bash
cd /tmp || exit
read -r -p "[s]table or [b]eta? [sS/bB] " choice
choice=${choice,,} # tolower
if [[ ! "$choice" =~ ^(s|b)$ ]]; then
exit
fi
if [[ "$choice" = "s" ]]; then
url=https://dl.pstmn.io/download/latest/linux64
name=Postman