Get started
Running in minutes.
Install LocalAI, run a model, then open it in your browser.
Install it
Use the script on Linux and on a Mac with Apple Silicon, a container on any platform, or the desktop app on Linux and macOS.
shellScript
$ curl -sSL https://localai.io/install.sh | sh $ local-ai # open http://localhost:8080 and install a model from there
Windows
PS> irm https://localai.io/install.ps1 | iex PS> local-ai run # PowerShell, amd64. To read the script first: irm https://localai.io/install.ps1 -OutFile install.ps1
Docker
$ docker run -p 8080:8080 --name local-ai -ti localai/localai:latest # Podman works the same way
Kubernetes
$ helm repo add go-skynet https://go-skynet.github.io/helm-charts/ $ helm install local-ai go-skynet/local-ai # or: kubectl apply -f https://localai.io/install/kubernetes.yaml
More: containers and GPU images, the desktop app (Linux and macOS), Linux, Windows, Helm chart, build from source
The install script and the
latestimage give 5.0.0.Start LocalAI
The script installs the program and does not start it. This command starts the server. The first time a model needs an engine, LocalAI downloads it.
local-aiOpen it and pick a model
Go to
http://localhost:8080in your browser. On a fresh install, the page recommends a model for your hardware. Accept it, then start a chat. The API is on the same address. To run a model directly, name it:local-ai run gemma-4-e2b-it-qat-q4_0is a small model that runs on a CPU.Add more
Ask an admin to install add-ons such as Office or Sandbox, and to turn on the features your team needs.
New in LocalAI 5.0. Needs 5.0 or newer.