Follow
Ubuntu Linux

How to Install Insomnia on Ubuntu 24.04

Richard
Written by
Richard
Dec 24, 2024 Updated Mar 20, 2026 2 min read
How to Install Insomnia on Ubuntu 24.04
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.

⚡ Quick Answer

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.

🐧Bash / Shell
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.

💻Code
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:

🐧Bash / Shell
sudo apt update
sudo apt install insomnia

After installing Insomnia, you can launch it from the command line using the command below.

💻Code
insomnia

You can also launch it by going to Activities > Show Applications > Insomnia on the desktop.

Insomnia on Ubuntu
Insomnia on Ubuntu

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.

🐧Bash / Shell
sudo apt install snapd

Then, use this command to install Insomnia via Snap.

🐧Bash / Shell
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.

🐧Bash / Shell
sudo snap run insomnia

Remove the app using the command below.

🐧Bash / Shell
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?

Was this helpful?
Richard

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.

📚 Related Tutorials

How to Install KDE Desktop on Ubuntu 24.04
Ubuntu Linux How to Install KDE Desktop on Ubuntu 24.04
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *