1. Go to releases page on the Ollama repository: https://github.com/ollama/ollama/releases
2. From under `Assets`, download `ollama-windows-amd64.zip`.
3. Once downloaded, extract the contents of the zip file and move `ollama.exe` to `C:\Users\<username>\AppData\Roaming\Msty`
4. Rename `ollama.exe` to `msty-local-sidecar.exe`.
5. Move `lib` folder to `C:\Users\<username>\AppData\Roaming\Msty`
#### Additional config for AMD ROCm™ GPU users only:
1. Go to releases page on the Ollama repository: https://github.com/ollama/ollama/releases
2. From under `Assets`, download `ollama-windows-amd64-rocm.tgz`
3. Once downloaded, extract contents and move the whole `rocm` folder under `lib\ollama` to `C:\Users\<username>\AppData\Roaming\Msty\lib\ollama`
::
::div{label="Mac" icon="hugeicons:apple"}
### Mac
1. Close Sidecar and ensure msty-local-sidecar is not running in your Activity monitor
2. Go to releases page on the Ollama repository: https://github.com/ollama/ollama/releases
3. From under `Assets`, download `ollama-darwin.tgz` (NOT `Ollama-darwin.zip`)
4. Once downloaded and extracted, move `ollama` to `~/Applications/MstySidecar.app/Contents/Resources`. Do not copy the whole folder -just the executable inside the extracted folder.
5. Rename existing `msty-local-sidecar` to something else - such as `msty-local-sidecar-old` or `msty-local-sidecar-backup`
6. Rename `ollama` to `msty-local-sidecar`
::
::div{label="Linux" icon="ph:linux-logo"}
### Linux
1. Go to releases page on the Ollama repository: https://github.com/ollama/ollama/releases
2. From under `Assets`, download `ollama-linux-amd64.tgz`
3. Once downloaded, unzip and move `bin` and `lib` directories to `~/.config/Msty/`
4. Rename `ollama` executable under `bin` to `msty-local-sidecar`
5. Open Terminal and run the following command to make the file executable:
```sh
chmod +x ~/.config/Msty/bin/msty-local-sidecar
```
#### Additional config for AMD ROCm™ GPU users only:
1. Go to releases page on the Ollama repository: https://github.com/ollama/ollama/releases
2. From under `Assets`, download `ollama-linux-amd64-rocm.tgz`
3. Once downloaded, unzip and move the whole `rocm` directory under `lib/ollama` to `~/.config/Msty/lib/ollama`
::