# Installation

# Download and launch

# Usage

$ ./meilisearch --help
USAGE:
    meilisearch [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --api-key <api-key>              The master key allowing you to do everything on the server. [env:
                                         MEILI_API_KEY=]
        --db-path <db-path>              The destination where the database must be created. [env: MEILI_DB_PATH=]
                                         [default: ./data.ms]
        --http-addr <http-addr>          The address on which the http server will listen. [env: MEILI_HTTP_ADDR=]
                                         [default: 127.0.0.1:7700]
        --no-analytics <no-analytics>    Do not send analytics to Meili. [env: MEILI_NO_ANALYTICS=]

# Environment variables and Flags

Flags can be added on launch.

$ ./meilisearch --db-path ./meilifiles --http-addr 127.0.0.1:7700
Server is listening on: http://127.0.0.1:7700

Here is the list of all Environment variables and Flags (CLI options).

Environment Variable CLI option Description Default value
MEILI_DB_PATH --db-path Define the location for the database files "./data.ms"
MEILI_HTTP_ADDR --http-addr Address and port to listen to "127.0.0.1:7700"
MEILI_API_KEY --api-key Default admin API key
MEILI_NO_ANALYTICS --no-analytics Deactivate analytics. Analytics help us to know how much users are using our project, knowing which versions and which platforms are used. It is completely anonymous.