ollama/app
Daniel Hiltgen 75b952780f llama-server: prepare to remove compatibility patch
Add manifest-list storage so runner-specific manifests can coexist under one tag while preserving existing v1 tags as best-effort downgrade anchors. Show/list/copy/remove/pull/push now understand runner and digest selection and transfer referenced child manifests and layers.

Add lazy local compatibility migration for legacy Ollama GGUFs into llama.cpp-compatible children, covering the patched model families and preserving parser/renderer, templates, projectors, media metadata, split GGUFs, and MTP/draft tensors where applicable.

Extend create/import/conversion paths for the same compatibility rules, harden manifest-list combine validation, and add focused manifest, migration, transfer, and integration coverage for first-load conversion plus chat/tools/vision/audio/embedding behavior.
2026-09-24 19:25:52 -07:00
..
assets
auth
cmd app: defer Settings model discovery (#18598) 2026-09-24 13:47:43 -07:00
darwin/Ollama.app/Contents app: add Ollama to ChatGPT Desktop (#18236) 2026-09-04 14:04:48 -07:00
dialog lint fixes (#17897) 2026-08-20 10:23:25 -07:00
format
logrotate
server ci: wire up MLX unit tests for PR runs (#17022) 2026-09-01 16:59:36 -07:00
store cli: add first-run onboarding shared with the desktop app (#18495) 2026-09-17 11:49:24 -07:00
tools More harden app markdown URL handling (#16436) 2026-06-02 11:46:14 -07:00
types/not
ui llama-server: prepare to remove compatibility patch 2026-09-24 19:25:52 -07:00
updater ci: wire up MLX unit tests for PR runs (#17022) 2026-09-01 16:59:36 -07:00
version
webview fix(docs): correct typos found during code review (#17579) 2026-08-31 08:59:55 -07:00
wintray fix(docs): correct typos found during code review (#17579) 2026-08-31 08:59:55 -07:00
.gitignore
ollama.iss Kill llama-server during Windows cleanup (#16458) 2026-06-03 10:25:12 -07:00
ollama.rc
README.md build: add -O3 optimization to CGO flags (#13877) 2026-01-24 10:55:38 -08:00

Ollama for macOS and Windows

Download

Development

Desktop App

go generate ./... &&
go run ./cmd/app

UI Development

Setup

Install required tools:

go install github.com/tkrajina/typescriptify-golang-structs/tscriptify@latest

Develop UI (Development Mode)

  1. Start the React development server (with hot-reload):
cd ui/app
npm install
npm run dev
  1. In a separate terminal, run the Ollama app with the -dev flag:
go generate ./... &&
OLLAMA_DEBUG=1 go run ./cmd/app -dev

The -dev flag enables:

Build

Windows

Dependencies - either build a local copy of ollama, or use a github release

# Local dependencies
.\scripts\deps_local.ps1

# Release dependencies
.\scripts\deps_release.ps1 0.6.8

Build

.\scripts\build_windows.ps1

macOS

CI builds with Xcode 14.1 for OS compatibility prior to v13. If you want to manually build v11+ support, you can download the older Xcode here, extract, then mv ./Xcode.app /Applications/Xcode_14.1.0.app then activate with:

export CGO_CFLAGS="-O3 -mmacosx-version-min=12.0"
export CGO_CXXFLAGS="-O3 -mmacosx-version-min=12.0"
export CGO_LDFLAGS="-mmacosx-version-min=12.0"
export SDKROOT=/Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
export DEVELOPER_DIR=/Applications/Xcode_14.1.0.app/Contents/Developer

Dependencies - either build a local copy of Ollama, or use a GitHub release:

# Local dependencies
./scripts/deps_local.sh

# Release dependencies
./scripts/deps_release.sh 0.6.8

Build

./scripts/build_darwin.sh