Uploaded October 2025 | Updated September 2026, 1 week 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

![Part 4: Add Sliders, Input Fields & Debug the Wiggle Panel
Part 4: Add Sliders, Input Fields & Debug the Wiggle Panel
Welcome to Part 4 of this free 4-part mini-course!
In this Part 4β¦we open our project folder from Part 3 and use Cursor AI to take our wiggle panel to the next level by adding sliders and input fields for Frequency & Amplitude and we do some debugging and tweaking.
π§± What Youβll Learn:
* Use Cursor AI to add sliders to Wiggle Panel
* Update the existing .jsx file in ScriptUI panel
* Use Cursor AI to add value input fields to Wiggle Panel
* Use Cursor AI to fix decimal place issue
* Use Cursor AI to make the Tab Key work properly
* How to make your very own Wiggle Panel for After Effects!
πΊ WATCH THE FULL MINI-COURSE
βΆοΈ Intro: https://youtu.be/7kcY82mnsA4
βΆοΈ Part 1: https://youtu.be/YC7_7KwTZQE
βΆοΈ Part 2: https://youtu.be/Kc7sygIlMdQ
βΆοΈ Part 3: https://youtu.be/s9ZfCeXCP6A
βΆοΈ Part 4: [your are here]
βΆοΈ Playlist: https://www.youtube.com/playlist?list=PLqeRnzRtkROQ9Cu0B5X5JoAZk-gs71vqD
π§ ABOUT THIS SERIES
This is a mini-course designed for content creators and educators who want to use AI tools like Cursor AI to vibe code, build digital products, and create smart tools using Adobe After Effects.
π Tools & Effects Used
* App: Adobe After Effects CC 2025
* Download Cursor: https://cursor.com
β¨οΈKeyboard Shortcuts:
Cmd/Ctrl + i: Jump to Chat Panel
Reveal All Expressions: End of Part 3
πΎ ScriptUI Install Path (Mac):
* Applicationsβ¦Adobe After Effects [version]β¦Scriptsβ¦ScriptUI Panels
π¦ RESOURCES & DOWNLOADS
* π After Effects User Guide Course: https://aeuserguide.com
* π¨ Terrapin Textures: https://terrapintextures.com
* π§ My Gear & AI Tools: https://mikemurphy.co/resources
* π₯ Adobe After Effects: https://mikemurphy.co/adobe (affiliate)
π οΈ How To Modify Code & Add Wiggle Sliders Using Cursor AI
* Open Cursor
* Open Project Folder
* Press Cmd/Ctrl + i to jump cursor to Chat Panel
* Type in Text Prompt in Cursor or,
* Copy ChatGPT prompt to clipboard
* Paste Prompt in text field
* Press Return/Enter
* Accept File generated by Cursor
π οΈ How To Add Code (.jsx) to After Effects Script UI Panel
* Open Project Folder
* Open βdevβ folder
* Copy .jsx file (Cmd/Ctrl + D)
* Click on Applications
* Click on Adobe After Effects [latest version]
* Click on βScriptsβ
* Click on βScriptsUI Panelβ and drag to Sidebar for shortcut
* Paste copied .jsx file in ScriptsUI Panel
* Press βReplaceβ
* Enter Mac Password
π οΈ How To Test Wiggle Sliders & Debug in After Effects
* Open After Effects
* Go to Window Menu
* Select βmyaetools.jsxβ to open
* Select Layer
* Tap βPβ for Position
* Press Wiggle Button
* Values of Position Property should turn red
* Tap βEEβ to view wiggle(5,20) expression
* Deselect all (F2)
* Press βWiggleβ Button
* Error Message should appear
* Drag Sliders to confirm they are working
* Enter values for Frequency & Amplitude
* Note bugs or issues such as decimals & tab button
* Return to Cursor to Debug (state problem and tell Cursor to fix)
* Replace .jsx file after Cursor debugs file
* Re-open After Effects
* Pat yourself on the back for a job well done!
* Enjoy your new Wiggle Panel and keep adding stuff to it!
β± TIMESTAMPS
00:00 Introduction To Part 4
00:56 Open Project Folder in Cursor
01:30 Chat GPT Prompt
02:24 Use Prompts or Vibe Code
02:54 Using Chat Assistants
03:27 Cursor Chat History
04:41 Paste Slider Prompt Into Cursor
05:08 Highlighted Code (Green or Red)
05:55 Learning From Cursor (Chat)
06:22 Replace .jsx File
06:41 Current Status of Wiggle Panel (AE)
07:33 Select Composition Alert
08:06 Open Folder & Replace .jsx File
09:24 Test Wiggle Panel in After Effects
10:58 Debugging Sliders (Decimals & Inputs)
11:50 Bonus Tip: Dictation
12:52 Creating Debug Prompt Using Dictation
13:56 Add Debug Prompt To Cursor
14:52 Replace .jsx File
15:30 Testing Wiggle + Sliders
16:43 Debug: Slider Decimals + Tab
17:01 Debug Prompt in Cursor
18:00 Replace .jsx File & Test AE
20:00 Debug: Tab Functionality
20:45 Enter Debug Prompt in Cursor
21:35 ScriptUI Panels Folder Location
23:14 Nice Job...You did it!
π¬ STAY IN THE LOOP
β Join the AI Unplugged Newsletter to follow my journey into AI, tools, and building a solo creator business. https://mikemurphy.co/aiunplugged
β Subscribe for more tutorials like this: https://youtube.com/mikemurphyco
π§ Mike Murphy Tutorials
Learn AI. Build digital products. Make a living as a content creator.
πΉ Powered by Project Rosebud Part 4: Add Sliders, Input Fields & Debug the Wiggle Panel](https://i.ytimg.com/vi/IeMQYTlJ0p4/mqdefault.jpg)








![Part 2: How to set up Project Folder and build the Script UI Panel with Wiggle Button
π Part 2 of 4:
How to set up Project Folder and build the Script UI Panel with Wiggle Button
Welcome to Part 2 of this 4-part mini-course where youll learn how to set up a Project Folder for this project and future vibe coding projects, how to open the folder in Cursor AI and then add a text prompt to build the basic ScriptUI Panel with a button that says Wiggle.
π§± What Youβll Learn:
- How to organize your project folder for vibe coding
- How to open folders in Cursor AI and explore the interface
- How to prompt Cursor using the Context + Expectations method
- How to generate a .jsx ScriptUI panel with a dummy button
- How to install and test your custom panel inside After Effects
πΊ WATCH THE FULL MINI-COURSE
βΆοΈ Intro: https://youtu.be/7kcY82mnsA4
βΆοΈ Part 1: https://youtu.be/YC7_7KwTZQE
βΆοΈ Part 2 (Youβre here)
βΆοΈ Part 3:
βΆοΈ Part 4:
π§ ABOUT THIS SERIES
This is a mini-course designed for content creators and educators who want to use AI tools like Cursor AI to vibe code, build digital products, and create smart tools using Adobe After Effects.
π Tools & Effects Used
* App: Adobe After Effects CC 2025
* Download Cursor: https://cursor.com
β¨οΈKeyboard Shortcuts:
* Open Chat Panel: Cmd/Ctrl + I
* Accept All Changes: Cmd/Ctrl + Enter
* Create Duplicate File: Cmd/Ctrl + D
π Project Folder Setup:
* Home...code...code builds....ae_script_panel_wiggle
* Inside: `dev`, `docs`, `project files`
πΎ ScriptUI Install Path (Mac):
* Applications ...Adobe After Effects [version] ...Scripts,,,ScriptUI Panels
π¦ RESOURCES & DOWNLOADS
* π After Effects User Guide Course: https://aeuserguide.com
* π¨ Terrapin Textures: https://terrapintextures.com
* π§ My Gear & AI Tools: https://mikemurphy.co/resources
* π₯ Adobe After Effects: https://mikemurphy.co/adobe (affiliate)
ποΈ How To Set Up Vibe Coding Project Folder (Mac Instructions)
* Create folder in Home Folder called βcodeβ
* Create a folder inside βcodeβ called βcode buildsβ
* Create a folder inside βcode buildsβ called βae_script_panel_wiggleβ
* Create 3 folders inside project folder (dev, docs, project files)
* Place Cursor code files (.jsx) in βdevβ folder
* Place ReadMe files and prompts in βdocsβ
* Place After Effects .aep project in βproject filesβ
π οΈ How To Build ScriptUI Panel in Cursor AI:
* Copy ChatGPT (or similar) prompt to clipboard
* Open Cursor
* Open Project Folder
* Press Cmd/Ctrl + i to jump cursor to Chat Panel
* Paste Prompt in text field
* Press Return/Enter
* Accept File generated by Cursor
* Move .jsx file into βdevβ folder
π οΈ How To Add Code (.jsx) to After Effects
* Open Project Folder
* Open βdevβ folder
* Copy .jsx file (Cmd/Ctrl + D)
* Move .jsx file outside of βdevβ and give it identical file name as original created by Cursor
* Open Finder
* Click on Applications
* Click on Adobe After Effects [latest version]
* Click on βScriptsβ
* Click on βScriptsUI Panelβ and drag to Sidebar for shortcut
* Drag duplicated .jsx file in ScriptsUI Panel
* Open After Effects
* Go to Window Menu
* Select βmyaetools.jsxβ to open
* Test by docking
* Click βWiggleβ and nothing should happen yet
β± TIMESTAMPS
00:00 Introduction To Part 2
00:12 Part 2 Overview
00:32 Project Folder Setup & Organization
01:40 My Vibe Code System
02:17 Mac Tip: Finder Sidebar Shortcut
02:32 Start Building in Cursor
02:54 Explorer Panel + Project Folder
03:14 Rich Text vs Plain Text
03:49 Shortcut to Chat (Cmd/Ctrl + i)
04:40 Context + Framework
05:14 Copy & Paste Prompt
05:43 Review Cursor Results
06:22 Green Highlighted Code
07:11 Accept & Reject Code
07:55 Code Lingo Cheatsheet
09:07 Duplicating New .jsx File
09:58 ScriptsUI Panel Folder (Applications)10:34 Open & Test in After Effects
11:06 Testing Wiggle Button
11:32 End of Part 2
11:43 Recap of Part 2
π Like this video? Subscribe to the channel + sign up for my newsletter *AI Unplugged* to learn how to use AI to build your creative business.
π¬ STAY IN THE LOOP
β Join the AI Unplugged Newsletter to follow my journey into AI, tools, and building a solo creator business. https://mikemurphy.co/aiunplugged
β Subscribe for more tutorials like this: https://youtube.com/mikemurphyco
π§ Mike Murphy Tutorials
Learn AI. Build digital products. Make a living as a content creator.
πΉ Powered by Project Rosebud Part 2: How to set up Project Folder and build the Script UI Panel with Wiggle Button](https://i.ytimg.com/vi/Kc7sygIlMdQ/mqdefault.jpg)