Posts Learn Snippets 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

8 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

Created by

PostSrc poster

PostSrc

Full stack developer mainly focusing on the front end side of the web. The main author of PostSrc and loves writing tutorial and guides online.