Step-by-Step Setup
Download Wispr Flow (optional)
This step is optional. Wispr Flow lets you speak instead of type — handy if you prefer talking over typing. Skip this step if you’d rather type your prompts.
- Sign up at wisprflow.ai/r?CHAN115
- Download and install the app for your operating system
- Configure settings — enable these options for the best experience:
- Experimental > Command Mode — Enable advanced voice commands
- Press Enter Command — Automatically press enter when you say “press enter”
- Bulk Import — Import snippets and dictionary items
What is Wispr Flow?
What is Wispr Flow?
Wispr Flow is a voice-to-text tool that lets you dictate instead of type. It works in any application, including your terminal. Instead of typing a long prompt to Gemini CLI, you can just say it out loud. This is especially useful if you find typing slow or tiring.
Install Node.js
Node.js is a free tool that lets you run Gemini CLI on your computer.
- Windows
- macOS
- Go to nodejs.org
- Click the big green LTS button to download the installer
- Open the downloaded
.msifile - Click Next through all the screens — the default settings are fine
- Click Install, then Finish
How do I know it worked?
How do I know it worked?
Open your terminal (see the next step) and type:You should see a version number like
v22.x.x. If you see an error, try closing and reopening your terminal, then run the command again.Learn to open your terminal
The terminal is a program where you type commands. It looks like a dark window with text — this is completely normal. Don’t be intimidated!
- Windows
- macOS
- Press the Windows key on your keyboard
- Type PowerShell
- Click Windows PowerShell in the search results
How to open a terminal in a specific folder
How to open a terminal in a specific folder
Later in this tutorial, you’ll need to open a terminal inside your project folder. Here’s how:Windows: Open the folder in File Explorer. Click the address bar at the top, type
powershell, and press Enter. A terminal opens right in that folder.macOS: Open Finder and navigate to the folder. Right-click the folder and select “Open Terminal at Folder”. If you don’t see this option, you can open Terminal normally and type cd (with a space), then drag the folder into the Terminal window and press Enter.Install and test Gemini CLI
Gemini CLI is Google’s free AI coding assistant. It runs in your terminal and writes code based on your descriptions.Open your terminal and type:Wait for the installation to finish. Then start it by typing:The first time you run it, Gemini CLI will ask you to sign in:
- Choose “Sign in with Google”
- A browser window will open — sign in with your Google account
- Come back to the terminal when it says you’re connected
Free tier: 60 requests per minute, 1,000 requests per day — more than enough for this tutorial and everyday use.
'npm' is not recognized
'npm' is not recognized
This means Node.js isn’t installed correctly. Go back to Step 2 and reinstall Node.js. After reinstalling, close your terminal completely and open a new one before trying again.
Permission denied error
Permission denied error
Windows: Close PowerShell and reopen it by right-clicking and choosing “Run as Administrator”. Then try the install command again.macOS: Add Enter your computer password when prompted (you won’t see characters as you type — that’s normal).
sudo before the command:Verify Your Setup
Before moving on, check that everything is ready:Node.js installed
Node.js installed
Run
node --version in your terminal. You should see a version number.Terminal works
Terminal works
You can open a terminal window and type commands.
Gemini CLI installed
Gemini CLI installed
Run
gemini in your terminal. It starts up and shows a prompt where you can type.Signed in to Google
Signed in to Google
Gemini CLI is connected to your Google account.
Wispr Flow (optional)
Wispr Flow (optional)
If you installed it, you can dictate text in any application.
All set? Head to Set up GitHub to create your GitHub account and install the tools you need for deployment.