Skip to content

모델 실행 ​

ollama run gemma4

통합 기능 실행 ​

ollama launch

Ollama 모델을 사용할 외부 애플리케이션을 구성하고 실행합니다. 지원되는 앱과의 통합을 설정하고 시작할 수 있는 대화형 방식을 제공합니다.

지원되는 통합 기능 ​

  • OpenCode - 오픈소스 코딩 어시스턴트
  • Claude Code - Anthropic의 에이전트형 코딩 도구
  • Codex - OpenAI의 코딩 어시스턴트
  • VS Code - AI 채팅 기능이 내장된 Microsoft의 IDE
  • Droid - Factory의 AI 코딩 에이전트

예시 ​

대화형으로 통합 기능을 실행하려면:

ollama launch

특정 통합 기능을 실행하려면:

ollama launch claude

특정 모델과 함께 실행하려면:

ollama launch claude --model qwen3.5

실행하지 않고 구성만 하려면:

ollama launch droid --config

여러 줄 입력 ​

여러 줄 입력의 경우 """로 텍스트를 감쌀 수 있습니다:

>>> """Hello,
... world!
... """
I'm a basic program that prints the famous "Hello, world!" message to the console.

멀티모달 모델 ​

ollama run gemma4 "What's in this image? /Users/jmorgan/Desktop/smile.png"

임베딩 생성 ​

ollama run embeddinggemma "Hello world"

출력은 JSON 배열입니다:

echo "Hello world" | ollama run nomic-embed-text

모델 다운로드 ​

ollama pull gemma4

모델 삭제 ​

ollama rm gemma4

모델 목록 조회 ​

ollama ls

Ollama 로그인 ​

ollama signin

Ollama 로그아웃 ​

ollama signout

사용자 정의 모델 생성 ​

먼저 Modelfile을 생성하세요:

FROM gemma4
SYSTEM """You are a happy cat."""

그 다음 ollama create를 실행하세요:

ollama create -f Modelfile

실행 중인 모델 목록 조회 ​

ollama ps

실행 중인 모델 중지 ​

ollama stop gemma4

Ollama 시작 ​

ollama serve

설정할 수 있는 환경 변수 목록을 보려면 ollama serve --help를 실행하세요.