Update or remove pasture¶
Update pasture¶
pasture upgrade
pasture downloads its newest release, checks that the download arrived whole, puts it in place of the old one, and starts again with it. Your models, settings, and pairing stay as they are.
Downloading pasture 0.3.0...
Installed pasture 0.3.0 at /Users/you/.local/bin/pasture.
pasture runs at login and serves Ollama's API on 127.0.0.1:11434. Its log is /Users/you/Library/Logs/pasture.log.
When you already have the newest release, pasture upgrade says so and changes
nothing. pasture status tells you when a new release is out, and
pasture upgrade --check says whether there is one without installing it.
pasture 0.1.0 has no pasture upgrade. To update from it, run the install
command again:
curl -fsSL https://packages.cinchapi.com/public/downloads/raw/names/pasture/versions/latest/install.sh | sh
pasture version
pasture version says which version runs.
Remove pasture¶
pasture uninstall
pasture stops, and no longer starts when you log in. Your models, settings, and archive folder stay where they are.
When pasture moved models away, it lists them first, because without pasture no app lists them. When they fit on the disk, it asks whether to bring them all back:
pasture moved 2 models away, and once it stops, no tool lists them:
qwen2.5-coder:14b (10.0 GB, away)
all-minilm:latest (46.0 MB, archive)
? Bring them back before pasture stops? [y/N]
Type y to bring them back. Otherwise they stay away, and ollama pull gets
any of them again.
Then delete the pasture command:
rm ~/.local/bin/pasture
When pasture downloaded Ollama for you, it linked the ollama command into the
same folder. Delete that link too, with rm ~/.local/bin/ollama.
To delete pasture's settings too, delete ~/.config/pasture and
~/.local/state/pasture, and ~/.local/share/pasture when pasture downloaded
Ollama for you. Files lists everything pasture keeps.