Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

run `npm install` on build

Jeffrey Morganda52f5bfdd46
diff --git a/scripts/build_darwin.sh b/scripts/build_darwin.sh
index 3de715a42..6a324f207 100755
--- a/scripts/build_darwin.sh
+++ b/scripts/build_darwin.sh
@@ -10,6 +10,7 @@ rm dist/ollama-darwin-amd64 dist/ollama-darwin-arm64
codesign --deep --force --options=runtime --sign "$APPLE_IDENTITY" --timestamp dist/ollama
# build and sign the mac app
+npm install --prefix app
npm run --prefix app make:sign
cp app/out/make/zip/darwin/universal/Ollama-darwin-universal-${VERSION:-0.0.0}.zip dist/Ollama-darwin.zip