Table of contents
1.
Introduction
2.
Updating to Postman v9
3.
Updating to Postman v8
3.1.
Updating to v8 as an individual
3.2.
Updating to v8 as a team
4.
Installing earlier versions of Postman on Linux
4.1.
Downloading Postman v8
4.2.
Downloading Postman v7
5.
Managing Postman app versioning
6.
Deploying the Postman Enterprise app
7.
Downloading the Postman Enterprise app
8.
Installing the Postman Enterprise Windows app
8.1.
INSTALLDIR
8.2.
The MSIINSTALLPERUSER option
8.3.
Silent installation
8.4.
Enabling verbose logging for installation
8.5.
MSI installation options
8.6.
Updating the Postman Enterprise Windows app
8.7.
Uninstalling the Postman Enterprise Windows app
9.
Installing the Postman Enterprise macOS app
9.1.
Installing a PKG installer package
9.2.
Uninstalling PKG installers
9.3.
PKG installation options
9.4.
PKG installer logging
10.
Frequently Asked Questions
10.1.
What is Postman used for?
10.2.
Which language does Postman use?
10.3.
Is Postman a free tool?
11.
Conclusion
Last Updated: Mar 27, 2024

Updating your Team to the current version and managing Enterprise deployment in Postman

Author Nagendra
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

A consistent, enhanced API programming experience is offered by Postman v9. The Postman desktop client and the Postman web app are powerful; choosing which to use depends on your workflow. The Postman Enterprise provides administrators with more control to deploy and administer Postman at scale. Team administrators can deploy the Postman Enterprise app to their company or manage Postman app versioning with Postman support.

This blog explains the details of Updating your Team to the current version and handling Enterprise deployment in Postman.

Without further ado, let's get started.

Postman Image

Updating to Postman v9

Follow the following steps to update to postman v9:

  • Navigate to Settings and choose Update, then Download update, you can upgrade from Postman v7 or v8 to Postman v9.
     
  • To install the update, you must restart Postman. Select Install Update and Restart.
     
  • Once the upgrade is finished, you can start using Postman v9.

Updating to Postman v8

You can update to Postman v8 as an individual or as a team. 
Let's look at each of them:

Updating to v8 as an individual

Follow the following steps to update to postman v8 as an individual:

  • Non-team users of version 7 can update to version 8 by going to Settings, choosing Update, and then clicking on Download update.
     
  • It's crucial to ensure that your work is synced in order to prevent data loss during the upgrade. Click on Verify Sync.
     
  • Update to Postman v8 after your work has been synchronised. Opt for Update to v8.
     
  • To install the update, you must restart Postman. Select Install Update and Restart.
     
  • Once the upgrade is finished, you can start using Postman v8.

Updating to v8 as a team

Team members using version 7 can upgrade to version 8 by going to Settings, choosing Update, and then clicking Download update. You can update from version 7 to version 8 without an admin's permission.

Let's look at installing an earlier version of Postman on Linux.

Installing earlier versions of Postman on Linux

You can download a previous version of Postman to continue working with a team that hasn't yet migrated if you want to downgrade to Postman v8 or below.

Downloading Postman v8

Use the following commands to switch to Postman v8 if you are using Postman for Linux and you installed the application from "Ubuntu Software Center" or "Snap Store."

Command:

sudo snap switch --channel=v8/stable Postman
sudo snap refresh postman

Downloading Postman v7

Use the following commands to switch to Postman v7 if you are using Postman for Linux and you installed the application from "Ubuntu Software Center" or "Snap Store."

Command:

sudo snap switch --channel=v7/stable Postman
sudo snap refresh postman


Let's now dive into the details of Managing Enterprise deployment in Postman.

Managing Postman app versioning

You can create a team-wide version of the Postman app with Postman app versioning. You have the option of designating Postman v8 or v9 as your Team's version. A Postman Team Admin must make the request for app versioning because it is a back-end action.
Contact your Postman Account Manager or Postman support to make this change request.

Let's look at the details of deploying the Postman Enterprise app.

Deploying the Postman Enterprise app

A version of Postman's desktop program called Postman's Business app gives administrators wishing to use Postman in an enterprise setting more control. It offers silent installation, system-wide installation, and various parameters to govern how Postman is installed on users' devices. It is available as an MSI package for Windows and a PKG package for macOS.

Postman Enterprise image

Downloading the Postman Enterprise app

Follow the steps to download the Postman Enterprise app:

  • To access the Postman Enterprise app package, you must be a Postman Team Admin.
     
  • Open Postman, choose Team in the top right, then Team Settings > Enterprise Application to download the Postman Enterprise app.
     

Let's look at the details of Installing the Postman Enterprise Windows app.

Installing the Postman Enterprise Windows app

You can proceed with installing the software after downloading the Postman Enterprise MSI package.

INSTALLDIR

A custom installation directory can be chosen using the public property INSTALLDIR. If this public property isn't explicitly changed, it defaults to %USERPROFILE%\AppData\Local\Programs\Postman"Postman Enterprise" for per-user installations and %PROGRAMFILES%\Postman\"Postman Enterprise" for system-wide installations.

For instance, to do a system-wide installation to a specific directory, run the command as follows:

Command:

msiexec /i path/to/package.msi 
INSTALLDIR=C:\custom

The MSIINSTALLPERUSER option

The app is installed per user as opposed to system-wide using the default MSIINSTALLPERUSER option. The MSI executes a system-wide installation by default. To execute a per-user installation, set MSIINSTALLPERUSER to 1.

For instance, to do a per-user installation to the default installation directory, enter the following command:

Command:

msiexec /i path/to/package.msi MSIINSTALLPERUSER=1


In order to do a per-user installation to a specific directory, this public property can be used in conjunction with INSTALLDIR:

Command: 

msiexec /i path/to/package.msi MSIINSTALLPERUSER=1 INSTALLDIR=%USERPROFILE%\custom

Silent installation

Passing the /qn option to msiexec causes a silent installation or removal to take place:

Command:

msiexec /i path\to\package.msi /qn 
MSIINSTALLPERUSER=1


Keep in mind that when operating in silent installation mode, errors won't be displayed. Even if there won't be an error message if the installation fails for whatever reason, %ERRORLEVEL% won't equal 0.

Running silent installations with logging turned on is always advised.

Enabling verbose logging for installation

With the /l*v option, the msiexec program can be set up to generate debug log details regarding the installation procedure. You can print debug information to C:\log.txt, for instance:

Command:

msiexec /i path\to\package.msi /l*v C:\log.txt

MSI installation options

During the installation of an MSI application, settings can be modified.

You can enter a specific value if your program defines a MY_OPTION installation option, for instance:

Command:

msiexec /i path\to\package.msi MY_OPTION='hello'

An MSI with various installation options can also be installed:

Command:

msiexec /i path\to\package.msi MY_STRING_OPTION='hello' MY_INTEGER_OPTION=7

Updating the Postman Enterprise Windows app

Installing the updated MSI package will upgrade the Postman Enterprise app. This revised installation will be recognised as an upgrade by Windows Installer. The exact same public properties that you used to install Postman Enterprise must be passed. 

If you initially installed Postman Enterprise using the following, for instance, you must install the new MSI package using the same procedure.

Command:

INSTALLDIR=C:\custom and MSIINSTALLPERUSER=1

Uninstalling the Postman Enterprise Windows app

Using the /x option of the msiexec command-line tool, an existing app can be deleted:

Command: 

msiexec /x path\to\package.msi

The Add/Delete Programs area of the system settings or the system Control Panel app can also be used to remove an application.

Let's look at the details of Installing the Postman Enterprise macOS app.

Installing the Postman Enterprise macOS app

In scripting or enterprise deployment environments, macOS has a flexible installer technique called PKG that can be installed without user interaction.

The following features are available in PKG installation packages:

  • You have the option of using bespoke installation CDs, per-user installations, or system-wide installations.
     
  • After installation, they don't need to be rebooted.
     
  • They can be installed silently and are completely programmable.
     
  • Support for Apple Silicon exists.

Installing a PKG installer package

Open the file and follow the customisable interactive tutorial to install a PKG installer. The installation utility that comes with macOS can also be used to install PKGs from a command-line interface.
The LocalSystem target instructs the PKG to save installation preferences at /Library/Preferences and install program bundles to /Applications:

Command:

sudo installer -dumplog -verbose -pkg 
path/to/app.pkg -target LocalSystem


By designating the CurrentUserHomeDirectory target, you can also carry out a per-user installation. The PKG install program bundles to $HOME/Applications and puts installation preferences in $HOME/Library/Preferences based on this target:

Command:

installer -dumplog -verbose -pkg path/to/app.pkg -target CurrentUserHomeDirectory

Uninstalling PKG installers

The lack of a common method for uninstalling PKGs in macOS is a drawback of PKG installers. To learn more about the PKGs that are currently installed on a machine and the files that each installation utilised the app bundle identifier to build, use the pkgutil program that comes with macOS.

You can print a list of all the PKG bundle identifiers installed either system-wide or per-user if you don't know the bundle identification of the application you wish to uninstall:

Command:

# For system-wide PKGs
pkgutil --volume / --packages
# For per-user PKGs
pkgutil --volume "$HOME" --packages

 

You can list the files written by the PKG relative to its installation root by providing the app bundle identifier:

Command:

# For system-wide PKGs
pkgutil --volume / --files <the bundle id>
# For per-user PKGs
pkgutil --volume "$HOME" --files <the bundle id>

Depending on whether the PKG was installed system-wide or per-user, you can continue to remove it by deleting the files that the aforementioned commands printed out relative to $HOME.

You must inform macOS that the PKG has been deleted after removal:

Command:

# For system-wide PKGs
sudo pkgutil --volume / --forget <the bundle id>
# For per-user PKGs
pkgutil --volume "$HOME" --forget <the bundle id>

PKG installation options

Using the macOS defaults tool before or after installing the PKG, settings can be modified at installation time.

Command:

# For system-wide PKGs
sudo defaults write /Library/Preferences/<the bundle id> MY_OPTION -integer 10
# For per-user PKGs
defaults write <the bundle id> MY_OPTION -integer 10


You can specify a specific value for the MY OPTION integer installation option, for instance, if your application defines it:

Command:

sudo installer -dumplog -verbose -pkg path/to/app.pkg -target LocalSystem
sudo defaults write /Library/Preferences/<the bundle id> MY_STRING_OPTION -string "hello"
sudo defaults write /Library/Preferences/<the bundle id> MY_BOOLEAN_OPTION -boolean YES
sudo defaults write /Library/Preferences/<the bundle id> MY_INTEGER_OPTION -integer 7


This is how you would install a PKG and update some of its installation options:

PKG installer logging

It is advised to utilise the -dumplog and -verbose settings supplied by the installer to obtain comprehensive installation information. For instance:

Command:

sudo installer -dumplog -verbose -pkg path/to/app.pkg -target LocalSystem

Frequently Asked Questions

What is Postman used for?

Postman is an API client for Developers to easily create, share, test, and document APIs.

Which language does Postman use?

You have access to the Postman Sandbox, a JavaScript execution environment while creating pre-request and test scripts for requests.

Is Postman a free tool?

Yes, Postman is open-source software.

Conclusion

In this article, we have extensively discussed the details of Updating your Team to the current version and managing Enterprise deployment in Postman.

We hope that this blog has helped you enhance your knowledge regarding Ansible - Inventory, and if you would like to learn more, check out our articles on Postman. You can refer to our guided paths on the Coding Ninjas Studio platform to learn more about DSADBMSCompetitive ProgrammingPythonJavaJavaScript, etc. To practice and improve yourself in the interview, you can also check out Top 100 SQL problemsInterview experienceCoding interview questions, and the Ultimate guide path for interviews. Do upvote our blog to help other ninjas grow. Happy Coding!!

Thank You Image
Live masterclass