️To move your Ollama models to an external drive on macOS, the most reliable method is creating a **symbolic link (symlink)**. This tricks Ollama into thinking the files are still in their default location while they actually live on your external storage.
**Step 1: Move your existing models**
1. **Quit Ollama** completely from the menu bar icon.
2. Connect your external drive.
3. Open **Terminal** (Cmd + Space, type "Terminal").
4. Run this command to move your entire `.ollama` directory to the external drive (replace `YourDriveName` with your actual drive's name):
bash
```
mv ~/.ollama /Volumes/YourDriveName/.ollama
```
Use code with caution.
_Note: If you only want to move the models and keep configs local, move `~/.ollama/models` instead._
**Step 2: Create the Symbolic Link**
This command creates a "shortcut" that points Ollama to the new location on your external drive:
bash
```
ln -s /Volumes/YourDriveName/.ollama ~/.ollama
```
Use code with caution.
**Step 3: Verify the Link**
Check that the link was created successfully by running: