How to Install Insomnia on Ubuntu 24.04
You install Insomnia on Ubuntu 24.04 by adding its official APT repository and then using the standard package manager.
Insomnia is a powerful, open-source API client that simplifies designing, debugging, and testing both REST and GraphQL APIs directly on your desktop.
This process ensures you get the latest stable release of Insomnia for your Ubuntu 24.04 system. You’ll gain a robust tool essential for any API developer.
Install Insomnia on Ubuntu 24.04 by adding its APT repository and then installing the package. First, run curl -1sLf ‘https://packages.konghq.com/public/insomnia/setup.deb.sh’ | sudo -E distro=ubuntu codename=focal bash. Then, update your package list with sudo apt update and install Insomnia with sudo apt install insomnia.
Prepare Ubuntu
Before you install Insomnia, you’ll need a few prerequisite packages (additional software that Insomnia relies on).
Run the command below to install them.
sudo apt update && sudo apt upgrade
sudo apt install apt-transport-https
Add Insomnia repository
Once your Ubuntu system is updated, add the Insomnia repository so you can install the package. Use the command below.
Run the command below.
curl -1sLf
'https://packages.konghq.com/public/insomnia/setup.deb.sh'
| sudo -E distro=ubuntu codename=focal bash
Install Insomnia
With the repository added, you can now update and install Insomnia. Run this command:
sudo apt update
sudo apt install insomnia
After installing Insomnia, you can launch it from the command line using the command below.
insomnia
You can also launch it by going to Activities > Show Applications > Insomnia on the desktop.
Install Insomnia via Snap
Another way to install Insomnia is by using the Snap package manager.
First, make sure the Snap package manager is installed. If not, run this command.
sudo apt install snapd
Then, use this command to install Insomnia via Snap.
sudo snap install insomnia
Once installed, use the Dock on the left sidebar to search for and launch the Insomnia app.
You can also run the app using the command below.
sudo snap run insomnia
Remove the app using the command below.
sudo snap remove insomnia
That should do it!
Conclusion:
So, installing Insomnia on Ubuntu 24.04 is pretty flexible, with a few different ways to go about it. Here’s a quick recap of what we covered:
- Powerful Tool: Insomnia is an effective REST API client that simplifies API design, testing, and debugging.
- User-Friendly Interface: Its clean design enhances productivity by making request management intuitive.
- Support for Multiple Protocols: Besides REST, Insomnia supports GraphQL and other protocols.
- Environment Management: You can handle environment variables directly within the application, streamlining workflow.
- Installation Options: Insomnia can be installed via standard package management or the Snap package manager, whichever suits your preference.
With these benefits, Insomnia stands out as a valuable addition to any developer’s toolkit. Enjoy leveraging its features for your API development needs!
How to install insomnia in Ubuntu?
Once snap is installed, run the following snap command to install Insomnia on your server. After that, you’ll need to wait for the installation to complete.
Is insomnia free for commercial use?
Insomnia can be used for commercial software projects by development teams that require cloud sync and API key handling. Its paid version offers more complex and advanced features, such as community support, automated API tests, and advanced testing features designed for scalability.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!