Postman is a complete API development platform that helps you manage your API at every stage of development, from design and testing, to publication of API documentation and monitoring. Postman started out as a Chrome browser extension and has quickly become one of the most widely used API tools by developers around the world.
Postman is available as a native application (built on Electron) for all major operating systems, including macOS, Linux, and Windows. This article guides you through installing Postman on Ubuntu 20.04.
The easiest way to install Postman on Ubuntu 18.04 is to use an incisive packaging system. Snaps are standalone software packages that include all binaries of dependencies needed to run the application. The Snap package can be installed from the command line or via the Ubuntu Software application.
Postman snap package is distributed and maintained by Postman developers.
To install the Postman snap, open your terminal (Ctrl + Alt + T) and run the following command as a user with sudo privileges:
sudo snap install postmanThe download may take some time depending on your connection speed. If successful, the following output will be displayed:
postman 7.30.1 of Postman, Inc. (postman-inc✓) installedThe Snap Pack is easy to upgrade and secure. Whenever a new version is released, the Postman packages will automatically be updated in the background.
Alternatively, you can install Postman using the Ubuntu Software Center. Just search for Postman and click install.
In the Activity search bar, type “Postman” and click the icon to launch the application.
When you start Postman for the first time, a window like the following will appear asking you to log in or create a new account:
Creating an account allows you to organize your work in the Workspace, back up and sync your data across multiple devices. If you don’t want to log in, click “Skip login and point me straight to the app”.
To illustrate how Postman works, we’ll send a simple Get request to the online REST API and receive a JSON response containing a list of users.
Open a new tab, enter https://jsonplaceholder.typicode.com/users, leave the request type as GET and click the SEND button. If successful, the response returns a JSON object containing the array of users.
The Postman Learning Center is a great starting point for learning how to create Postman workspaces, collections, environments and more.
We have shown you how to install Postman on your Ubuntu 20.04 desktop. Now you can explore new API tools and start working on your project.
If you have any questions, feel free to leave a comment below.