ollama macOS
Homebrew インストール
ollama インストール
brew install ollama
nonaka@macmini3 ~ % brew install ollama ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:1c98fa49eacc935640a6f8e10a2bf33f14cfc276804b71ddb658ea45ba99d167 ################################################################################################################# 100.0%
...
==> Fetching downloads for: ollama ✔︎ Bottle Manifest ollama (0.13.5) [Downloaded 7.8KB/ 7.8KB] ✔︎ Bottle ollama (0.13.5) [Downloaded 10.8MB/ 10.8MB] ==> Pouring ollama--0.13.5.arm64_tahoe.bottle.tar.gz ==> Caveats To start ollama now and restart at login: brew services start ollama Or, if you don't want/need a background service you can just run: OLLAMA_FLASH_ATTENTION="1" OLLAMA_KV_CACHE_TYPE="q8_0" /opt/homebrew/opt/ollama/bin/ollama serve ==> Summary 🍺 /opt/homebrew/Cellar/ollama/0.13.5: 8 files, 30.1MB ==> Running `brew cleanup ollama`... Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`. Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
nonaka@macmini3 ~ % brew services start ollama ==> Successfully started `ollama` (label: homebrew.mxcl.ollama)
ollama pull granite3.2 ollama list ollama ps ollama run gpt-oss
nonaka@macmini3 ~ % ollama pull granite3.2 pulling manifest pulling 59c55d0e7b6a: 100% ▕██████████████████████████████████████████████████████████▏ 4.9 GB pulling 3e7ca51acd6e: 100% ▕██████████████████████████████████████████████████████████▏ 6.0 KB pulling 2e68075caee4: 100% ▕██████████████████████████████████████████████████████████▏ 11 KB pulling de1951f52363: 100% ▕██████████████████████████████████████████████████████████▏ 417 B verifying sha256 digest writing manifest success
nonaka@macmini3 ~ % ollama list NAME ID SIZE MODIFIED granite3.2:latest 9bcb3335083f 4.9 GB 32 seconds ago
nonaka@macmini3 ~ % ollama ps NAME ID SIZE PROCESSOR CONTEXT UNTIL