All Projects → postmanlabs → postman-updater-linux

postmanlabs / postman-updater-linux

Licence: other
A simple bash script to update Postman from the command line (for Linux)

Programming Languages

shell
77523 projects

Postman Updater (for Linux)

Deprecated

You can now install Postman from the Ubuntu snap store, so please do that.

This is a simple bash script, which allows you to update the Postman Linux app, straight from the terminal.

Installation

1. Using NPM

$ npm install -g postman-updater-linux

2. Manually

Copy the postman-updater script to your $PATH, and make it executable. Remember to change the path, if you do not want to install it to /usr/local/bin:

# curl -o /usr/local/bin/postman-updater https://raw.githubusercontent.com/postmanlabs/postman-updater-linux/master/bin/postman-updater
# chmod +x /usr/local/bin/postman-updater

Usage

By default, postman-updater assumes that the installation happens in /opt/postman. You can override this by providing a command line flag, -l /your/path. If you are not installing to any system directory, you will not have to use sudo in any of the following commands.

1. Checking for updates

You can check if updates are available:

sudo postman-updater check

Or, with a custom install location:

postman-updater check -l /your/custom/path

2. Installing Postman

You can install Postman to a path:

sudo postman-updater install # by default, installs to /opt/postman

Or, with a custom install location:

postman-updater install -l /your/custom/path

3. Updating Postman

This will update Postman, with default installation directory set to /opt/postman.

sudo postman-updater update

You can change the default location with the -l flag:

postman-updater update -l /your/custom/path
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].