Bash script to install and update postman on linux systems
postman-install.sh [-l] [-g] [version]
version: The version to install (ex: 10.24.3) or latest. Defaults to latest
-l: Force local installation in the user HOME directory
-g: Force global installation
-u: Uninstall postman
The script defaults to global installation if running as root, and local installation otherwise.
Local installation with default latest version:
./postman-install.sh
Global installation with specific version:
sudo ./postman-install.sh 10.24.3
Forcing local installation even when running as root:
sudo ./postman-install.sh -l
You can execute this script without installation:
bash <(curl -s https://raw.githubusercontent.com/gergof/postman-linux-installer/master/postman-install.sh)
To install the script:
curl -s https://raw.githubusercontent.com/gergof/postman-linux-installer/master/postman-install.sh -o postman-install.sh
chmod +x postman-install.sh
sudo mv postman-install.sh /usr/local/bin
You can uninstall postman by running the installer script with the -u
flag:
sudo postman-install.sh -u