1. Install as a Ruby Gem

Mihari is written in Ruby and it is published as a Ruby Gem.

gem install mihari

Mihari uses SQLite3 as a primary database by default. Thus a gem for SQLite (sqlite3) is installed by default.

If you want to use MySQL or PostgreSQL instead of SQLite3, please install a gem for that by yourself.

MySQL

<aside> ℹ️ Tested with MySQL v8

</aside>

gem install mysql2

PostgreSQL

<aside> ℹ️ Tested with PostgresQL v15

</aside>

gem install pg

2. Using Docker

You can built the Docker image by yourself.

Dockerfile is available at https://github.com/ninoseki/mihari/tree/master/docker.