Insomnia is a tool use for test, design, and debugs API. It’s a Postman competitor, this kind of software only has limited player. Insomnia had 2 different product Insomnia Core which is competitor of Postman, then Insomnia Designer which is similiar to Swagger Editor.
Insomnia stays free even after Kong brought them from the original developer, for a personal project the free version is enough. If you need the ability to share workspace between teammates, one must purchase the Teams plan, which is enhanced for collaboration between developers.
For Linux I prefer using the AppImages because it can run directly as an executable and compatible with most Linux distro. Insomnia had a dedicated url to get the latest version of their Insomnia Core product
wget --content-disposition https://updates.insomnia.rest/downloads/linux/latest
Check the file permission
$ ls -l Insomnia.Core-2020.4.1.AppImage -rw-rw-r-- 1 atetux atetux 115013045 Sep 23 05:55 Insomnia.Core-2020.4.1.AppImage
Before we able to run the Insomnia, set the permission to execute-able
chmod +x Insomnia.Core-*.AppImage
Let’s check again to make sure the Insomnia has correct permission
$ ls -l Insomnia.Core-2020.4.1.AppImage -rwxrwxr-x 1 atetux atetux 115013045 Sep 23 05:55 Insomnia.Core-2020.4.1.AppImage
Run the Insomnia
If Insomnia refuse to opened and gave following error
that because the
/tmp folder didn’t allow any executable there, the solution is set the file in the folder as executeable
sudo mount /tmp -o remount,exec