add some missing code directives in docs (#664)

This commit is contained in:
Jiayu Liu
2023-10-02 02:51:01 +08:00
committed by GitHub
parent 0a4f21c0a7
commit 4fc10acce9
4 changed files with 24 additions and 25 deletions

View File

@@ -10,25 +10,25 @@ Install required tools:
- go version 1.20 or higher
- gcc version 11.4.0 or higher
```
```bash
brew install go cmake gcc
```
Get the required libraries:
```
```bash
go generate ./...
```
Then build ollama:
```
```bash
go build .
```
Now you can run `ollama`:
```
```bash
./ollama
```