docs: add missing powershell package to windows development instructions (#5075)

* docs: add missing instruction for powershell build

The powershell script for building Ollama on Windows now requires the `ThreadJob` module. Add this to the instructions and dependency list.

* Update development.md
This commit is contained in:
Jeffrey Morgan 2024-06-15 23:08:09 -04:00 committed by GitHub
parent 07d143f412
commit c7b77004e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,15 +114,18 @@ If you have Docker available, you can build linux binaries with `./scripts/build
### Windows ### Windows
Note: The windows build for Ollama is still under development. Note: The Windows build for Ollama is still under development.
Install required tools: First, install required tools:
- MSVC toolchain - C/C++ and cmake as minimal requirements - MSVC toolchain - C/C++ and cmake as minimal requirements
- Go version 1.22 or higher - Go version 1.22 or higher
- MinGW (pick one variant) with GCC. - MinGW (pick one variant) with GCC.
- [MinGW-w64](https://www.mingw-w64.org/) - [MinGW-w64](https://www.mingw-w64.org/)
- [MSYS2](https://www.msys2.org/) - [MSYS2](https://www.msys2.org/)
- The `ThreadJob` Powershell module: `Install-Module -Name ThreadJob -Scope CurrentUser`
Then, build the `ollama` binary:
```powershell ```powershell
$env:CGO_ENABLED="1" $env:CGO_ENABLED="1"