Skip to content

Bash script to install and update postman on linux systems

License

Notifications You must be signed in to change notification settings

gergof/postman-linux-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

postman-linux-installer

Bash script to install and update postman on linux systems

Usage

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.

Example

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

Installing the installer script

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

Uninstalling postman

You can uninstall postman by running the installer script with the -u flag:

sudo postman-install.sh -u

About

Bash script to install and update postman on linux systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages