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
Leave a reply