Installation¶
Prerequisites¶
| Requirement | Details |
|---|---|
| Go | 1.25 or later |
| Git | For cloning the repository |
| C compiler | Optional. Only needed when building legacy vec integrations that still depend on CGO. |
Optional C Compiler Setup¶
Xcode Command Line Tools are typically pre-installed. If not:
xcode-select --install
sudo apt-get update && sudo apt-get install -y gcc libsqlite3-dev
sudo dnf install gcc sqlite-devel
apk add gcc musl-dev sqlite-dev
Default Runtime
The default runtime uses a pure-Go SQLite driver with FTS5 enabled. CGO is not required for normal builds. A C compiler is only needed if you explicitly build optional legacy vec integrations.
Build from Source¶
git clone https://github.com/langoai/lango.git
cd lango
make build
The binary is written to bin/lango. To install it into your $GOPATH/bin:
make install
Go Install¶
You can also install directly with go install:
go install github.com/langoai/lango/cmd/lango@latest
make build vs go install
make build and go install both use the default runtime with FTS5 enabled. Optional legacy vec integrations are not part of the default build.
Verify Installation¶
lango version
You should see output like:
lango v0.2.1
Optional: Browser Tools¶
Some tools (browser automation) require a Chromium-based browser.
Chromium Dependency
If you plan to use browser automation tools, ensure a Chromium-based browser (Chrome, Chromium, or Edge) is installed on the system. Lango uses it via the Chrome DevTools Protocol for web page interaction.
Platform-Specific Builds¶
The Makefile provides cross-compilation targets:
# Linux amd64
make build-linux
# macOS arm64 (Apple Silicon)
make build-darwin
# All platforms
make build-all
Next Steps¶
Once installed, proceed to the Quick Start to configure and launch your agent.