ollama/docs/development.md
2023-08-25 11:44:25 -07:00

291 B

Development

Install required tools:

brew install go

Enable CGO:

export CGO_ENABLED=1

You will also need a C/C++ compiler such as GCC for MacOS and Linux or Mingw-w64 GCC for Windows.

Then build ollama:

go build .

Now you can run ollama:

./ollama