Uploaded October 2025 | Updated November 2026, 3 hours ago
How to Install Google Gemini CLI in MacOS Terminal
Description:
In this tutorial, you will learn how to create Google Gemini CLI on MacOS to run Gemini 2.5 Pro Model in the Terminal.
In this tutorial, you'll learn:
What is Gemini CLI?
π How to install Node.js & Homebrew
π How To Install Gemini CLI
π How to Authenticate Gemini CLI
π How To Launch & Quit Gemini CLI
π How To Access /help & /search
π What is Gemini CLI?
Gemini CLI is a free, open-source AI agent developed by Google that brings the capabilities of the Gemini model directly into the command-line terminal. It provides lightweight and powerful access to Gemini for coding, automation, research, and content generation, allowing users to interact with Gemini entirely from their local development environment.
Install via HomeBrew:
brew install gemini-cli
Is HomeBrew Installed?
brew -v
Is Node.js Installed?
node -v
ββββββ
HomeBrew Installation:
https://brew.sh
Node.js Installation:
nodejs.org
Gemini CLI Install Instructions:
github.com/google-gemini/gemini-cli
ββββββ
β Chapters:
00:00 Intro: About The Tutorial
00:16 What is Gemini CLI?
00:43 What is Context Window?
01:50 Prerequisites (Requirements)
02:49 How To Install Node.js
03:23 HomeBrew Installation
04:43 Install Gemini CLI (via HomeBrew)
05:46 Clear Terminal Window
06:13 Run Gemini CLI
06:48 Gemini Tips For Getting Started
07:29 Home Directory Warning
07:44 Authenticate Gemini CLI
08:06 Login with Google
08:30 Prompt Field
08:49 Error Message
10:16 Confirm Gemini CLI is Working
10:30 /search
11:00 Forward Slash
11:16 De-clutter (clear) Gemini CLI
11:30 Launch Gemini CLI in Project Folder
12:16 What is War & Peace about?
12:38 Quit Gemini CLI
12:56 Return To Home Directory (Terminal)
ββββββ
How to Install Gemini CLI on MacOS:
π Open MacOS Terminal
π Confirm HomeBrew is Installed (brew -v)
π Confirm Node.js is Installed (node -v)
π Install Homebrew and/or Node.js if not installed
π Install Gemini CLI via Homebrew (brew install gemini-cli)
π Open Terminal
π Enter 'gemini' to launch Gemini CLI
π Select Authentication Method (Login with Google)
π Tap Return
π Select Google Account and 'Sign In'
π Return To Terminal to confirm Gemini CLI is working
π Enter a test message (How Do I Use /search tool?)
π Press 'clear' to clear window
π Press /help for Help
π Press /search to Search Inside Files, File Path, Web
π Press /quit to quit and exit Gemini CLI
ββββββResourcesββββββ
βGear I Use: mikemurphy.co/resources
βAdobe After Effects: mikemurphy.co/adobe
βTerrapin Textures: terrapintextures.com
β Adobe Audition Course (Domestika): mikemurphy.co/domestika
βAmazon Influencer Store: amazon.com/shop/mikemurphyco
βSee All My Gear: mikemurphy.co/podgear
β Get Adobe Creative Cloud: mikemurphy.co/adobe
β Screenflow: mikemurphy.co/screenflow
β Website: mikemurphy.co
β Podcast: mikemurphy.co/mmu
β Instagram: instagram.com/mikeunplugged
β X: http://x.com/mikeunplugged
β YouTube: mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
How to Install Google Gemini CLI in MacOS Terminal
Description:
In this tutorial, you will learn how to create Google Gemini CLI on MacOS to run Gemini 2.5 Pro Model in the Terminal.
In this tutorial, you'll learn:
What is Gemini CLI?
π How to install Node.js & Homebrew
π How To Install Gemini CLI
π How to Authenticate Gemini CLI
π How To Launch & Quit Gemini CLI
π How To Access /help & /search
π What is Gemini CLI?
Gemini CLI is a free, open-source AI agent developed by Google that brings the capabilities of the Gemini model directly into the command-line terminal. It provides lightweight and powerful access to Gemini for coding, automation, research, and content generation, allowing users to interact with Gemini entirely from their local development environment.
Install via HomeBrew:
brew install gemini-cli
Is HomeBrew Installed?
brew -v
Is Node.js Installed?
node -v
ββββββ
HomeBrew Installation:
https://brew.sh
Node.js Installation:
nodejs.org
Gemini CLI Install Instructions:
github.com/google-gemini/gemini-cli
ββββββ
β Chapters:
00:00 Intro: About The Tutorial
00:16 What is Gemini CLI?
00:43 What is Context Window?
01:50 Prerequisites (Requirements)
02:49 How To Install Node.js
03:23 HomeBrew Installation
04:43 Install Gemini CLI (via HomeBrew)
05:46 Clear Terminal Window
06:13 Run Gemini CLI
06:48 Gemini Tips For Getting Started
07:29 Home Directory Warning
07:44 Authenticate Gemini CLI
08:06 Login with Google
08:30 Prompt Field
08:49 Error Message
10:16 Confirm Gemini CLI is Working
10:30 /search
11:00 Forward Slash
11:16 De-clutter (clear) Gemini CLI
11:30 Launch Gemini CLI in Project Folder
12:16 What is War & Peace about?
12:38 Quit Gemini CLI
12:56 Return To Home Directory (Terminal)
ββββββ
How to Install Gemini CLI on MacOS:
π Open MacOS Terminal
π Confirm HomeBrew is Installed (brew -v)
π Confirm Node.js is Installed (node -v)
π Install Homebrew and/or Node.js if not installed
π Install Gemini CLI via Homebrew (brew install gemini-cli)
π Open Terminal
π Enter 'gemini' to launch Gemini CLI
π Select Authentication Method (Login with Google)
π Tap Return
π Select Google Account and 'Sign In'
π Return To Terminal to confirm Gemini CLI is working
π Enter a test message (How Do I Use /search tool?)
π Press 'clear' to clear window
π Press /help for Help
π Press /search to Search Inside Files, File Path, Web
π Press /quit to quit and exit Gemini CLI
ββββββResourcesββββββ
βGear I Use: mikemurphy.co/resources
βAdobe After Effects: mikemurphy.co/adobe
βTerrapin Textures: terrapintextures.com
β Adobe Audition Course (Domestika): mikemurphy.co/domestika
βAmazon Influencer Store: amazon.com/shop/mikemurphyco
βSee All My Gear: mikemurphy.co/podgear
β Get Adobe Creative Cloud: mikemurphy.co/adobe
β Screenflow: mikemurphy.co/screenflow
β Website: mikemurphy.co
β Podcast: mikemurphy.co/mmu
β Instagram: instagram.com/mikeunplugged
β X: http://x.com/mikeunplugged
β YouTube: mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com










