본문 바로가기

카테고리 없음

MAC 초기 설정부터 Gemini 설치까지

1. API Key 생성 

- 구글 계정은 개인계정으로 사용가능.

- https://aistudio.google.com/apikey 에 접속하여 API Key를 생성한다

 

2. Node 설치

- 방법 1. https://nodejs.org/en/download 에서 설치파일 다운로드 후 설치

- 방법 2. Homebrew 를 통해 설치 

# node 설치
brew install node

# node 설치 확인
node

 

+ "brew install node"명령어 에서 ""zsh: command not found: brew"메시지가 뜬 경우

ㄴ homebrew 설치 해야함(https://brew.sh/)

vi ~/.zshrc

 

<내용>

# Add Homebrew to PATH
export PATH="/opt/homebrew/bin:$PATH"

<적용>

source ~/.zshrc

# 버전확인
brew --version

 

3. Gemini CLI설치

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

 

 

 

출처: 

https://kplog.tistory.com/385 [센치한개발자:티스토리]

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