Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

JK1860 
Created at Oct 21, 2025 10:09:03 
  6   0   0  

CLI stands for Command Line Interface. And, yes, it does look like something from the Stone Age. However, it appears that engineers are very excited about AI through CLIs. My father told me, and it's kind of jarring. They all talk about how much faster, more accurate, and automated it is compared to simply clicking around in a GUI.

Apparently, it gives you a lot more control over the AI models - like, super precise. So you can build things much faster, plug them right into your existing code (think shell scripts or fancy CI/CD setups), and everything is super consistent, which is apparently a huge deal for getting things working and out the door.

Furthermore, this text-based approach is faster, requires less of your computer's brainpower, and is far superior for performing multiple tasks at once that would be a nightmare (or simply impossible) with a mouse. Essentially, it makes development more efficient and customizable.

I'm sure there are tons of other AI-specific tools and code out there, but one that's getting a lot of attention right now, especially for running large language models on your own machine, is something called Ollama.
 

Today I had the opportunity to learn about "Gemini CLI".

███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░

You may have already had the opportunity to meet Gemini, which is developed by Google and integrated with Google Tools.


How does Gemini CLI differ from other tools?

Essentially, the main advantage here is that it is tightly integrated with Google. For example, you can simply log in and manage your projects using your regular Google account. That's huge because it makes getting started a lot easier, especially if you're already familiar with Google Cloud or its developer tools.

Unlike OpenAI, which requires you to generate and manage separate API keys. Gemini simply says, “Hey, do you already have a Google account?” Okay, you're in.

But it's more than just a simple login. Gemini provides direct access to Google's own fancy multimodal models - think text, images, and whatever data you throw at it - from the command line. Plus, it's designed to work seamlessly with other Google Cloud AI products, such as Vertex AI, so everything feels connected if you're building within Google's ecosystem.

Sure, other platforms like OpenAI have been around longer, with a plethora of different models (such as GPT-4 and DALL-E) and tools. But Gemini's real selling point is its super-smooth onboarding if you're already a Google user, as well as how it seamlessly integrates Google's latest multimodal AI into their cloud development flow.

 

How do you install?

Gemini CLI installation is incredibly simple. Open your Terminal (On Windows, Windows + R → cmd + [enter] ) → Run

npm install -g @google/gemini-cli

You should have Node.js 18 or later on your Windows or Mac. You can get it at https://nodejs.org/en

 

Below is the installation result on Windows

D:\>npm install -g @google/gemini-cli

added 576 packages in 2m

148 packages are looking for funding
  run `npm fund` for details
npm notice
npm notice New major version of npm available! 10.2.5 -> 11.6.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2
npm notice Run npm install -g npm@11.6.2 to update!
npm notice

 

Below is the installation result on Mac

% npm install -g @google/gemini-cli

added 583 packages in 21s

148 packages are looking for funding
  run `npm fund` for details

 

How to configure the default environment?

Just run gemini on your terminal to start

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

The action you should do is just press the ENTER key on the #1 option. If you have another option for #2 or #3, you can do it.

 

If everything goes fine, you have to select Google Account and the you will see screen like below:

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

 

Let's come back to your terminal. Can you see the below prompt?

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

BOOM!! Welcome to the new world, if you can see the prompt above!

 

Now let's do the first action for the next step. Input /quit + ENTER to escape Gemini CLI

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

 

Above looks so simple, but that is what you have to know. In order to exit Gemini CLI, /quit is the magic keyword.

 

Let's make your first app with Gemini > Simple Video Service based on video.js

Because we have Node.js, let's make a simple Node.js app.

Let's run gemini on your Terminal

gemini

We plan to implement a simple code to play a video from Video JS.

Implement Node.js app playing a video from “https://vjs.zencdn.net/v/oceans.mp4”.
Use video.js for the video player.
Set the title as “Ocean”.

In some cases, you will see messages like below; then just re-input the prompt again. If you just want to re-type, just press ↑, then you will see the previous prompt you used. If you don't see, you can just ignore below.

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

Once you run your prompt, you will see some prompts asking you for permission to run it on your system, like below:

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

Select 1 or 2. I will select 2 in my case. Then it automatically installs required system components to make it work.

If everything goes fine, you will see pages like below:

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

Now, time for you to run your app.

run server

The result will be like below:

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

Let's review the implemented code with your browser. Just open http://localhost:3000 for testing, and the result will be like this:

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

 

Make some changes at the video player

Let's make some changes at the video player. Press [ESC] to stop the server.

And input below prompt.

 make the video player use whole screen width and height

Then Gemini changes it like this:

Gemini CLI makes a Magic! Time to speed up your app development with Google Gemini CLI!

You can test the result at http://localhost:3000. Now the app fully use whole screen.

 

The code you created with Gemini CLI is like this:

├── index.html
├── package-lock.json
├── package.json
└── server.js

4 files

You can add more detail to it by reviewing it with your VSCode even though you have no detailed knowledge in Node.js.

 

You like the previous code? Then roll back.

If you just want to roll back to the previous code, then make prompt as rollback

rollback

 

The way to work with Gemini AI is always based on your prompt

When you work with AI, you should provide it with clear guidance. The AI should have specific actions to perform based on your guidance.

<action>
And <action>
...

 

Now, you can make your own magic with Gemini CLI.

I hope this is useful to someone.



Tags: AI CLI AI-based coding Coding Command Line Interface Gemini Gemini CLI Google Gemini 제미나이 제미나이 CLI 제미니 Share on Facebook Share on X

◀ PREVIOUS
Common Naming Format in Software Development

  Comments 0
SIMILAR POSTS

Challenge: One Code Problem Per Day

(created at Oct 03, 2025)

Dataset of California Foodbanks

(updated at Feb 12, 2024)


OTHER POSTS IN THE SAME CATEGORY

Common Naming Format in Software Development

(created at Oct 07, 2025)

Types of Memory and Storage

(updated at Jul 22, 2025)

How to access websites blocked by ESNI and ECH settings with Firefox!

(updated at Nov 29, 2024)

Block unwanted URLs for comfortable web browsing with Chrome Addon - URL Blocker

(updated at Nov 01, 2024)

Modern Web Indexing Technology - IndexNow

(updated at Oct 24, 2024)

Key Differences in Gen Z/Alpha/Zalpha based on Upbringing and Life Experiences

(updated at Oct 22, 2024)

Zalpha: A Global Trend, Not Just a Distant Concept

(updated at Oct 22, 2024)

Zalpha Generation: A New Term for the Children of Gen Z and Millennials

(updated at Oct 22, 2024)

The Generation Corona (+ Gen Z) is grappling with how to communicate and live alongside Gen Alpha

(updated at Oct 21, 2024)

Starship, Super Heavy, Successful Ground Landing

(updated at Oct 19, 2024)

Difference in HEAD and GET for HTTP Request - why HEAD Request could be used for DDoS Attack?

(updated at Oct 11, 2024)

Understanding the Key Differences Between GIS and LBS: Purpose, Technology, and Applications

(updated at Oct 09, 2024)

The Evolution and Applications of Geographic Information Systems: From Thematic Mapping to Efficient Data Analysis and Management

(created at Oct 09, 2024)

Japan's Current Status on Generative AI and Copyright: A Summary of Developments, Current Situation, and Key Issues

(updated at Oct 08, 2024)

Quantum computer and qubit generation method

(updated at Oct 08, 2024)

UPDATES

Common Questions from UIUC school life in terms of CS Program

(created at Oct 20, 2025)

UIUC Immunization Compliance

(created at Oct 20, 2025)

LEE CHANHYUK's songs really resonate with my soul - Time Stop! Vivid LaLa Love, Eve, Endangered Love ...

(created at Oct 18, 2025)

LEE CHANHYUK - Endangered Love (멸종위기사랑)

(created at Oct 18, 2025)

Cupid (OT4/Twin Ver.) - LIVE IN STUDIO | FIFTY FIFTY (피프티피프티)

(created at Oct 18, 2025)

Common methods to improve coding skills

(created at Oct 18, 2025)

US National Holiday in 2026

(created at Oct 18, 2025)

BABYMONSTER “WE GO UP” Band LIVE [it's Live] K-POP live music show

(created at Oct 18, 2025)

BLACKPINK - ‘Shut Down’ Live at Coachella 2023

(created at Oct 18, 2025)

JENNIE - like JENNIE - One of Hot K-POP in 2025

(created at Oct 18, 2025)

BABYMONSTER(베이비몬스터) - DRIP + HOT SOURCE + SHEESH

(created at Oct 08, 2025)

Common Naming Format in Software Development

(created at Oct 07, 2025)

In a life where I don't want to spill even a single sip of champagne - LEE CHANHYUK - Panorama(파노라마)

(created at Oct 06, 2025)

Countries with more males and females - what about UIUC?

(created at Oct 04, 2025)

Challenge: One Code Problem Per Day

(created at Oct 03, 2025)

Urban planning and growth from a historical perspective

(created at Sep 28, 2025)

Jackbryan VS Serpent | Korea Beatbox Championship 2023 | Quarterfinal

(created at Sep 28, 2025)

CNBLUE - You've Fallen For Me (넌 내게 반했어)

(created at Sep 28, 2025)

GGIS: The Roots of Visualizing Geographic Information

(created at Sep 27, 2025)

CNBLUE - 외톨이야 (aka Outsider)

(created at Sep 27, 2025)

Did you know that the person who voiced Humtrix Rumi in KPop Demon Hunters went to UIUC?

(updated at Sep 05, 2025)

WING - Dopamine

(created at Sep 05, 2025)

CARDIO VS Jackbryan | Korea Beatbox Championship 2025 | Semifinal

(updated at Sep 04, 2025)

Tech Visionaries who graduated at UIUC - You are the Next Turn

(updated at Sep 04, 2025)

Thinking about the Public Dataset and Open API provided for the Authorized People

(updated at Sep 04, 2025)

Where to Eat with Your i-Card at UIUC and How to Track Your Dining Dollars

(updated at Sep 04, 2025)

OMG! Did you consume your meals already at UIUC? How do you change the meal plan?

(updated at Sep 03, 2025)

Java Comments

(updated at Sep 03, 2025)

Abraham Lincoln Contributed to UIUC's Creation and its Mission

(created at Sep 03, 2025)

Feeling weak? Transform yourself at the UIUC ARC!

(updated at Sep 03, 2025)

Checking Your Upcoming Assignment/Exam Schedule: Using the UIUC Canvas Dashboard for Assignment Management

(updated at Sep 03, 2025)

UIUC Course Map for CS and Blended CS Degrees

(updated at Sep 02, 2025)

What You Need to Prepare for Graduate University at UIUC

(updated at Sep 01, 2025)

Did you know about the UIUC Course Numbering Policy? How to meet with 120 GPA hours?

(created at Sep 01, 2025)

My Dad's Bucket Hat Craze: One Man's Quest for Collegiate Headwear

(created at Aug 30, 2025)

Public Transportation between Chicago O'Hare International Airport and UIUC (University of Illinois at Urbana-Champaign)

(updated at Aug 27, 2025)

How to Receive Mail and Packages in University Housing at UIUC

(updated at Aug 27, 2025)

When you are too busy to have your breakfast/lunch/dinner, use Good2Go Carryout Program

(created at Aug 27, 2025)

Why Outlook’s Redirection Option Is a Game-Changer

(updated at Aug 27, 2025)

Why Every Freshman Needs the Illinois App at UIUC

(updated at Aug 24, 2025)

My First Day at University of Illinois-Urvana Champaign

(created at Aug 22, 2025)

Did you get Selective Service System(SSS) Form 3C?

(updated at Aug 17, 2025)

BLACKPINK's refreshing song - Jump

(updated at Aug 08, 2025)

Poisonous Mushrooms sprouted along the roadside after Typhoon

(updated at Aug 06, 2025)

Annual Weather Forecasting in Illinois based on Month

(updated at Aug 06, 2025)

My name has a typo in MyIllini - Need a Biographical change form

(updated at Jul 31, 2025)

Free Transportation Systems for UIUC students, faculty, and staff with I-Card

(updated at Jul 31, 2025)

What you can do with I-Card at UIUC

(updated at Jul 31, 2025)

Selecting a Bed Configuration before you move-in at UIUC Dormitory

(updated at Jul 30, 2025)

Student Health Insurance Waiver: Major Deadlines You Can’t Miss

(updated at Jul 22, 2025)