Posts Learn Components new Snippets new Categories Tags About
/

Installing MeiliSearch on macOS Big Sur

Learn how to install MeiliSearch the easy way on macOS Big Sur

Created on Jul 20, 2021

88 views

To install MeiliSearch on macOS you can make use of the Homebrew package manager.

Install Homebrew (brew)
If you haven't install the Homebrew package manager then you can run the script below on your terminal.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Update brew and Install MeiliSearch
Before installing anything with homebrew, it's recommended that you update homebrew with "brew update" to retrieve the latest packages from the online repository list. Once you have done so you can install it using "brew install meilisearch".
brew update && brew install meilisearch

Run MeiliSearch
To launch/run MeiliSearch, you can just type "meilisearch" and hit enter in your command line.
meilisearch

If you do prefer that it automatically run when your macOS is on, then you can run it as a background service.
brew services start meilisearch

To see the running brew services then you can type in the command below.
brew services list
new

If you like our tutorial, do make sure to support us with some coffee. We need the juice to write the content during the night 🤙🏻