Skip to content
Follow
Ubuntu Linux

How to Install Insomnia on Ubuntu 24.04

Richard
Written by
Richard
Dec 24, 2024 Updated Jul 13, 2026 3 min read
How to Install Insomnia on Ubuntu 24.04
How to Install Insomnia on Ubuntu 24.04

Installing Insomnia on Ubuntu 24.04 involves adding its official software source and then using the regular Ubuntu tools to install the application.

Insomnia is a free program that helps you build, test, and fix API connections directly on your computer. It works with tools like REST and GraphQL APIs.

This way, you always get the newest version of Insomnia, like 2024.6.0, straight from the people who made it. This method makes sure you have a reliable tool for working with APIs.

⚡ 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 installing Insomnia, you’ll need a few prerequisite packages (additional software Insomnia depends 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

After updating your Ubuntu system, 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

Install Insomnia on Ubuntu 24.04 using the apt package manager. First, update your system’s package list by running sudo apt update, then install Insomnia with sudo apt install insomnia. This method ensures you get the latest version from Ubuntu’s official software sources.

Launch Insomnia, a free API design and testing tool, from the Ubuntu 24.04 command line by typing insomnia and pressing Enter. This action opens the Insomnia application, allowing you to start designing and testing your APIs immediately.

Launch the Insomnia application by navigating the desktop’s Activities menu. Click on “Activities” in the top-left corner of your screen. Then, click “Show Applications” to view all installed programs. Finally, find and click on “Insomnia” to open the application.

Insomnia on Ubuntu
Insomnia on Ubuntu

Install Insomnia via Snap

Installing Insomnia on Ubuntu 24.04 using Snap is a quick way to get the app. If you don’t have Snap installed, run sudo apt install snapd first. Then, install Insomnia with a single Snap command, making it a fast setup option.

📝Good to Know
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:

Installing Insomnia on Ubuntu 24.04 offers flexibility with multiple installation methods. 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 Ubuntu Linux
Ubuntu Linux How to Install Ubuntu Linux
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
How to Set Up Environment Variables in Windows 11
Windows How to Set Up Environment Variables in Windows 11

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

Leave a Comment

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