Chapter 2
Installation
LocalAI can be installed in multiple ways depending on your platform and preferences.
Installation Methods
Choose the installation method that best suits your needs:
- Containers ⭐ Recommended - Works on all platforms, supports Docker and Podman
- macOS - Download and install the DMG application
- Linux - Install on Linux using binaries
- Kubernetes - Deploy LocalAI on Kubernetes clusters
- Build from Source - Build LocalAI from source code
Quick Start
Recommended: Containers (Docker or Podman)
This will start LocalAI. The API will be available at http://localhost:8080. For images with pre-configured models, see All-in-One images.
For other platforms:
- macOS: Download the DMG
- Linux: See the Linux installation guide for binary installation.
For detailed instructions, see the Containers installation guide.