ollama/docs/development.md

30 lines
318 B
Markdown
Raw Normal View History

2023-06-27 17:46:46 +00:00
# Development
- Install cmake or (optionally, required tools for GPUs)
- run `go generate ./...`
- run `go build .`
2023-07-07 16:59:24 +00:00
Install required tools:
2023-06-27 17:46:46 +00:00
```
brew install go cmake gcc
2023-06-27 17:46:46 +00:00
```
Get the required libraries:
```
go generate ./...
```
Then build ollama:
2023-06-27 17:46:46 +00:00
```
go build .
2023-06-27 17:46:46 +00:00
```
2023-07-07 16:59:24 +00:00
Now you can run `ollama`:
2023-06-27 17:46:46 +00:00
```
2023-07-07 16:59:24 +00:00
./ollama
2023-06-27 17:46:46 +00:00
```