#!/bin/bash # Start ollama serve in the background ollama serve & # Wait for a few seconds to ensure the server is up sleep 5 # Run ollama pull mistral ollama pull mxbai-embed-large # Wait for the background process to finish wait