Skip to content

Gemini CLI 업데이트 명령어

GPT 5.5 Thinking

설치 방식에 따라 업데이트 명령이 다릅니다.

npm으로 설치한 경우

shell
npm install -g @google/gemini-cli@latest

또는:

shell
npm update -g @google/gemini-cli

Homebrew로 설치한 경우

shell
brew update
brew upgrade gemini-cli

MacPorts로 설치한 경우

shell
sudo port selfupdate
sudo port upgrade gemini-cli

npx로 실행하는 경우

shell
npx @google/gemini-cli@latest

npx는 전역 설치가 아니므로 보통 별도 업데이트보다는 latest 태그로 실행하면 됩니다.

GitHub의 최신 소스를 직접 실행하고 싶다면 다음 방식도 사용할 수 있습니다.

shell
npx https://github.com/google-gemini/gemini-cli

버전 확인

shell
gemini --version

또는 Gemini CLI 안에서:

/about

추천

일반적으로는 stable 채널을 쓰는 것이 좋습니다.

shell
npm install -g @google/gemini-cli@latest

Preview 또는 nightly를 쓰고 싶다면 둘 중 하나만 선택해서 설치하면 됩니다.

주의: Preview 및 nightly 채널은 실험적 기능이 포함될 수 있어 stable보다 예상치 못한 버그가 발생할 가능성이 높습니다.

shell
npm install -g @google/gemini-cli@preview

또는:

shell
npm install -g @google/gemini-cli@nightly