Install and Run Monika in MacOS without Package Managers
There are many ways to install Monika on your machines, such as using package managers like NPM, Chocolatey, or Snapcraft. There is also a one-liner script you can run on your machine if you are using Linux-based operating systems.
There are some people that prefer running a standalone binary rather than installing a package manager just to install new software. That’s why we included the standalone binaries on our GitHub releases page.
We heard that some macOS users had trouble running Monika in their systems because of some permission things going on under the hood. So, this article will cover how to run Monika on your macOS machines. So, without further ado:
What is Monika?
GitHub - hyperjumptech/monika: Monika is a command-line application to monitor every part of your…
Monika is a command-line application to monitor every part of your web app using a simple YAML configuration file. Get…
Monika is an open-source and free synthetic monitoring command-line application. The name Monika stands for “Monitoring Berkala”, which means “periodic monitoring” in the Indonesian language.
With Monika, you can add as many websites as you want to monitor. You can monitor several undesirable events such as service outages or slow services. In addition, you can configure Monika to send notifications of the incidents on your services through your favorite communication tools like SMTP mail, Telegram, Slack, WhatsApp (It’s free!), and more!
Now that we want to run Monika using a standalone binary, visit the Monika GitHub release page and select the zip file according to your operating system (in this case, macOS).
Your browser may display that the file is not commonly downloaded and may be dangerous, but that is just a false alarm. Head to the caret menu beside the Discard button and select Keep.
After that, navigate to the folder where you saved Monika. Extract the zip file and you should get one simple binary called
monika. By default, it should not have the execute permission. So, we need to run
chmod +x monika to be able to execute the binary. After that, you can just simply run
./monika to run Monika.
You will be prompted that Monika can’t be opened because Apple cannot check it for malicious software. For now, just click OK.
The next step is to allow Monika to run. Open the System Preferences and select Security and Privacy. Then, you will see that Monika was blocked from use because it is not from an identified developer. Click the Allow Anyway button.
Once you allowed Monika, proceed to run
./monika again in your terminal. Again, you will be prompted that Monika can’t be opened because Apple cannot check it for malicious software. But this time, you can click the Open button.
Monika should now be running in your terminal. If you haven’t had any Monika configuration yet, you can create a Monika configuration using Monika Config Generator and run Monika with your created Monika configuration.
Monika Configuration Generator
PT Artha Rajamas Mandiri (Hyperjump) is an open-source-first company providing engineering excellence service. We aim…
Congratulations! You can now run Monika in macOS using the standalone binary!
Apple made it extra secure to run downloaded binaries that are not coming from identified developers. By following these steps above, you can run Monika by allowing the permissions needed by Apple so you won’t have to install any package managers just to install Monika.
If you have questions or find issues while using Monika, don’t hesitate to create an issue on Monika’s Github Issue Page. If you like this article, don’t forget to clap and share this article with your friends!
That’s it for today, see you next week!
Hyperjump is an open-source-first company providing engineering excellence service. We aim to build and commercialize open-source tools to help companies streamline, simplify, and secure the most important aspects of their modern DevOps practices.