Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🔎docs: update meilisearch instruction (#1930)

Fuegovicde0cee3f565d
diff --git a/docs/install/installation/linux_install.md b/docs/install/installation/linux_install.md
index 398ecaca9b..4ff0bfb9dd 100644
--- a/docs/install/installation/linux_install.md
+++ b/docs/install/installation/linux_install.md
@@ -77,13 +77,15 @@ Note: The above command extracts the files to "/usr/local/LibreChat". If you wan
- Copy it to `/usr/local/LibreChat/`
- Rename the file to `meilisearch`
- Open a terminal and navigate to `/usr/local/LibreChat/`
+- Generate a Master Key or use the one already provided in th `.env` file (less secure)
+- Update the Master Key in the .env file (it must be the same everywhere) `MEILI_MASTER_KEY=`
- Run the following command:
```bash
./meilisearch --master-key=YOUR_MASTER_KEY
```
-Note: Replace `YOUR_MASTER_KEY` with the generated master key, which you saved earlier.
+Note: Replace `YOUR_MASTER_KEY` with the generated master key, which you saved earlier in the `.env` file.
## Install Node.js:
diff --git a/docs/install/installation/mac_install.md b/docs/install/installation/mac_install.md
index bef37d6340..71f65d852f 100644
--- a/docs/install/installation/mac_install.md
+++ b/docs/install/installation/mac_install.md
@@ -54,8 +54,10 @@ weight: 0
- Remember to include the MeiliSearch URL and Master Key in your .env file. Your .env file should include the following lines:
```
-MEILISEARCH_URL=http://127.0.0.1:7700
-MEILISEARCH_KEY=your_master_key_goes_here
+SEARCH=true
+MEILI_NO_ANALYTICS=true
+MEILI_HOST=http://0.0.0.0:7700
+MEILI_MASTER_KEY=your_master_key_goes_here
```
> **Important:** use the same master key here and in your .env file.