Install Langfuse on Your Local Device
Why I run Langfuse locally Langfuse helps me see prompt + completion tokens, latency, and traces for LLM calls. The hosted version is great, but for experiments I prefer local: No data leaves my machine I can pin versions and test breaking changes safely Faster iterations because logs and DB are local Homepage: langfuse.com Prereqs Docker + Docker Compose Git ~2 GB free RAM for the Postgres + app containers Step-by-step: bring up Langfuse Clone the repo git clone https://github.com/langfuse/langfuse.git cd langfuse Set env vars (example .env) POSTGRES_PASSWORD=langfuse LANGFUSE_INIT_USER_EMAIL=me@example.com LANGFUSE_INIT_USER_PASSWORD=changeme Use throwaway values locally; swap to strong secrets in real deployments. ...