This is a simple bash script, which allows you to update the Postman Linux app, straight from the terminal.
$ npm install -g postman-updater-linuxCopy 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://github.com/czardoz/postman-updater-linux/blob/master/bin/postman-updater
# chmod +x /usr/local/bin/postman-updaterBy 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.
You can check if updates are available:
sudo postman-updater checkOr, with a custom install location:
postman-updater check -l /your/custom/pathYou can install Postman to a path:
sudo postman-updater install # by default, installs to /opt/postmanOr, with a custom install location:
postman-updater install -l /your/custom/pathThis will update Postman, with default installation directory set to /opt/postman.
sudo postman-updater updateYou can change the default location with the -l flag:
postman-updater update -l /your/custom/path