This guide walks through a self-hosted installation of AnythingLLM.
For Docker installation, see Docker.
Download the official container image from Docker Hub.
docker pull mintplexlabs/anythingllm
Create a persistent storage directory for application data.
export STORAGE_LOCATION=$HOME/anythingllm && \
mkdir -p $STORAGE_LOCATION && \
touch "$STORAGE_LOCATION/.env"
Start the container and mount storage so data persists across restarts.
docker run -d -p 3001:3001 \
--cap-add SYS_ADMIN \
-v ${STORAGE_LOCATION}:/app/server/storage \
-v ${STORAGE_LOCATION}/.env:/app/server/.env \
-e STORAGE_DIR="/app/server/storage" \
mintplexlabs/anythingllm:latest
Choose your deployment method:
Prefer containers? See AnythingLLM Docker Setup.
Setting up Anythingllm can be complex. We offer consulting services for:
Contact us at office@linux-server-admin.com or visit our contact page.