By default, all models pulled from Ollama are stored in the /Users/username/.ollama directory on macOS, where username is your system's current user. If you want to change the model directory to another location, such as an external storage device, you can follow one of the methods below.
If you only want to change the model directory temporarily, execute the following command in Terminal and restart the Ollama app: