Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ricardorodrigues-ca/980ba26027d6b6c6770271715681b6e1 to your computer and use it in GitHub Desktop.
Save ricardorodrigues-ca/980ba26027d6b6c6770271715681b6e1 to your computer and use it in GitHub Desktop.
Ollama model updater
ollama list | awk 'NR>1 {print $1}' | xargs -I {} sh -c 'echo "Updating model: {}"; ollama pull {}; echo "---"' && echo "All models updated."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment