실전에서 쓰는 CLI
Ollama CLI는 작아 — 자주 쓸 거 12개 안 돼. 외워두면 quest 다른 lesson 다 마찰 줄어.
| 명령어 | 하는 일 |
|---|---|
ollama list | 설치된 모델 list (디스크 크기 포함) |
ollama show NAME | Metadata: parameters, template, capabilities |
ollama show NAME --modelfile | 모델 만든 Modelfile 출력 |
ollama ps | 현재 로드된 모델 + VRAM/RAM 사용량 |
ollama stop NAME | 모델 즉시 unload |
ollama cp SRC DST | 모델 복사 (alias). Blob 공유라 cheap |
ollama rm NAME | 모델 삭제 (디스크 free) |
ollama pull NAME | 모델 다운로드 / 업데이트 |
ollama run NAME | Interactive chat REPL (없으면 pull) |
ollama create NAME -f Modelfile | Modelfile에서 derived 모델 빌드 |
ollama serve | Daemon 수동 실행 (거의 안 씀) |
실전에서 진짜 사는 두 명령어
ollama ps는 카나리아야. 어떤 모델이 로드돼있고, 메모리 얼마 쓰고, 언제 evict될지 (UNTIL 컬럼) 알려줘. 뭔가 느리게 느껴지면 첫 번째 살펴볼 곳. ollama show NAME이 두 번째 — 뭐가 안 되는지 디버깅하기 전에 capabilities (tools, vision, thinking) 확인하는 데 써.