...

https://nodejs.org/en/download

 

Node.js — Download Node.js®

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

nodejs.org

먼저 위의 사이트에 들어가서 Node.js를 설치 해야 됩니다 사진과 같이 선택 후 터미널에서 붙여넣기 합니다

# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"

# Download and install Node.js:
nvm install 22

# Verify the Node.js version:
node -v # Should print "v22.17.0".
nvm current # Should print "v22.17.0".

# Verify npm version:
npm -v # Should print "10.9.2".

그런 다음 gemini-cli를 설치 합니다

npm install -g @google/gemini-cli
또는(실패시)
sudo npm install -g @google/gemini-cli

설치 후 gemini 로 실행 후 간단한 설정 후 로그인 하고 사용하시면 됩니다