# install
curl -L https://install.meilisearch.com | sh
# move
sudo mv meilisearch /usr/bin
# add systemctl
sudo vim /etc/systemd/system/meilisearch.service
# content
[Unit]
Description=MeiliSearch
After=systemd-user-sessions.service
[Service]
Type=simple
ExecStart=/usr/bin/meilisearch --http-addr 127.0.0.1:7700 --env production --master-key xxxxxx
[Install]
WantedBy=default.target
# enable & start
sudo systemctl enable meilisearch
sudo systemctl start meilisearch