Local Setup Guide
This is a condensed version of our Local Installation Guide
Step 1. Download the Project
Manual Download
-
Go to the Project Page: Visit https://github.com/LibreChat-AI/LibreChat.
-
Download the ZIP File: Click the green "Code" button, then click "Download ZIP."
-
Extract the ZIP File: Find the downloaded ZIP file, right-click, and select "Extract All...".
Using Git
Run the following git command in your terminal, from the desired parent directory:
git clone https://github.com/LibreChat-AI/LibreChat.gitStep 2. Install Docker
- Download: Go to Docker Desktop Download Page and download Docker Desktop.
- Install: Open the installer and follow the instructions.
- Run: Open Docker Desktop to ensure it is running.
Notes:
- Docker Desktop is recommended for most users. If you are looking for an advanced docker/container setup, especially for a remote server installation, see our Ubuntu Docker Deployment Guide.
- You may need to restart your computer after installation.
Step 3. Run the App
-
Navigate to the Project Directory
-
Create and Configure .env File:
- Copy the contents of
.env.exampleto a new file named.env. - Fill in any necessary values.
- For an in-depth environment configuration, see the .env File Configuration Guide.
- Copy the contents of
-
Start the Application:
- Run the following command:
docker compose up -d
Step 4. Start Chatting
LibreChat is now running, but it needs an account and a model before it can answer anything:
- Open http://localhost:3080 in your browser.
- Register an account on the login page.
- Add an API key for the provider you want to use.
Follow Your First Chat for these steps in detail, including what to do when no model answers.
Additional Links
Explore more about LibreChat and how to configure it to your needs.
- Updating LibreChat
- Instructions on how to update this setup with the latest changes to LibreChat.
- Configuring AI Providers
- Configure OpenAI, Google, Anthropic, and OpenAI Assistants
- Configuring a Custom Endpoint
- Configure services such as Deepseek, OpenRouter, Ollama, Mistral AI, Databricks, groq, and others.
- Click here for a list of known, compatible services.
- Environment Configuration
- Read for a comprehensive look at the
.envfile.
- Read for a comprehensive look at the
- librechat.yaml File Configuration
- Configure custom rate limiters, file outputs, and much more with the
librechat.yamlfile.
- Configure custom rate limiters, file outputs, and much more with the
- Ubuntu Docker Deployment Guide
- Read for advanced Docker setup on a remote/headless server.
- Setup the Azure OpenAI endpoint
- Configure multiple Azure regions and deployments for seamless use with LibreChat.
How is this guide?