Close Menu
TechurzTechurz

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    My favorite projector from Samsung doubles as a gaming hub, and it’s discounted for Labor Day

    September 1, 2025

    Web3’s Speed Is No Longer Optional. It’s the Path to Adoption.

    September 1, 2025

    LayerX uses AI to cut enterprise back-office workload, scores $100M in Series B

    September 1, 2025
    Facebook X (Twitter) Instagram
    Trending
    • My favorite projector from Samsung doubles as a gaming hub, and it’s discounted for Labor Day
    • Web3’s Speed Is No Longer Optional. It’s the Path to Adoption.
    • LayerX uses AI to cut enterprise back-office workload, scores $100M in Series B
    • The M4 iPad Pro is discounted $100 as a last-minute Labor Day deal
    • Google Confirms Gmail Data Breach Warning Is Fake News
    • IEEE Presidents Note: Preserving Tech History’s Impact
    • Android Droppers Now Deliver SMS Stealers and Spyware, Not Just Banking Trojans
    • How to make IT operations more efficient
    Facebook X (Twitter) Instagram Pinterest Vimeo
    TechurzTechurz
    • Home
    • AI
    • Apps
    • News
    • Guides
    • Opinion
    • Reviews
    • Security
    • Startups
    TechurzTechurz
    Home»AI»Gemini’s command line tool is a hidden productivity game changer – and it’s free
    AI

    Gemini’s command line tool is a hidden productivity game changer – and it’s free

    TechurzBy TechurzJuly 3, 2025No Comments4 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Gemini's command line tool is a hidden productivity game changer - and it's free
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Jack Wallen / Elyse Betters Picaro / ZDNET

    AI has finally started to trickle into the Linux command line. Thanks to the likes of Ollama, this reality is no longer avoidable: it’s here, and it’s not going anywhere. That’s not to say you have to use AI in your Linux terminal, but you can. For those who benefit from AI and often use the Linux Command Line Interface (CLI), the combination of the two can be a very powerful productivity boost.

    Yes, you can get the power of Gemini AI directly in your Linux terminal.

    Also: My two favorite AI apps on Linux – and how I use them to get more done

    Gemini CLI is a locally installed tool that can be used for a wide range of tasks, such as content generation, problem solving, deep research, and even task management. Although the original focus of Gemini CLI was on developers, it can also be used by end users who want to access AI without having to use a web browser or a third-party GUI.

    The problem with Gemini CLI is that it’s a bit tricky to install. Fortunately, I’m here to help you with that.

    How to install Gemini CLI on Ubuntu

    What you’ll need: The only things you’ll need are a running instance of Ubuntu Linux (or a distribution based on Ubuntu), a user with sudo privileges, and a working Google account. Make sure you’ve already signed in to your Google account with your default web browser before running Gemini CLI for the first time.

    Next, we’re going to install Node.js (because Gemini CLI is installed with the Node.js package manager, npm). To install Node.js, issue the command:

    Show more

    sudo apt-get install nodejs -y

    Now, we can install NPM with the command:

    Show more

    sudo apt-get install npm -y

    I’ve come across several pieces of documentation that instruct how to install Gemini CLI with npm, but many of them wind up with the gemini command not found. The only sure way to install Gemini CLI properly is with the command:

    Show more

    sudo npm install -g @google/gemini-cli

    When that finishes, you’re ready to run Gemini.

    Note: If you get an error when trying to run Gemini, you might have to install the latest version of Node.js, which can be done with the following commands:

    curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
    sudo -E bash nodesource_setup.sh
    sudo apt-get install nodejs -y

    After running the above, you’ll have to reinstall npm with:

    sudo apt-get install npm -y

    Gemini first run steps

    1. Run Gemini

    The first thing you must do is run Gemini with the command:

    gemini

    2. Select your theme

    Gemini will prompt you to select a theme. Since this is a curses-based application, use your arrow keys to select the theme you want, then hit Enter on your keyboard.

    Also: How I feed my files to a local AI for better, more relevant responses

    You can select from any one of the included themes.

    Jack Wallen/ZDNET

    3. Select your authentication method

    You read that right: you have to log in with your Google account. There are other ways to authenticate (Gemini API Key or Vertex AI), but using your Google account is the easiest method. Make sure “Login with Google” is selected, then hit Enter on your keyboard.

    Also: Here’s how I finally cracked a tricky Linux problem with this AI terminal app

    I would recommend using the Google Authentication method, as it’s the easiest.

    Jack Wallen/ZDNET

    4. Authenticate

    When you hit Enter on your keyboard, your default web browser will open, where you can select the Google account you want to use. Once you’ve authenticated, the terminal window will change to a Gemini prompt, where you can type your first query.

    Also: The first 5 Linux commands every new user should learn

    You are now ready to run your first query.

    Jack Wallen/ZDNET

    And that is how you install the Gemini CLI tool on Linux. Enjoy the power of AI in your terminal.

    Also: How to run DeepSeek AI locally to protect your privacy – 2 easy ways

    Get the morning’s top stories in your inbox each day with our Tech Today newsletter.

    changer command free Game Geminis hidden line productivity Tool
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleErneute Cyberattacke auf Internationalen Strafgerichtshof
    Next Article Best phone 2025: the top smartphones to buy right now
    Techurz
    • Website

    Related Posts

    AI

    My favorite projector from Samsung doubles as a gaming hub, and it’s discounted for Labor Day

    September 1, 2025
    AI

    IEEE Presidents Note: Preserving Tech History’s Impact

    September 1, 2025
    AI

    How to make IT operations more efficient

    September 1, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Start Saving Now: An iPhone 17 Pro Price Hike Is Likely, Says New Report

    August 17, 20258 Views

    You Can Now Get Starlink for $15-Per-Month in New York, but There’s a Catch

    July 11, 20257 Views

    Non-US businesses want to cut back on using US cloud systems

    June 2, 20257 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Most Popular

    Start Saving Now: An iPhone 17 Pro Price Hike Is Likely, Says New Report

    August 17, 20258 Views

    You Can Now Get Starlink for $15-Per-Month in New York, but There’s a Catch

    July 11, 20257 Views

    Non-US businesses want to cut back on using US cloud systems

    June 2, 20257 Views
    Our Picks

    My favorite projector from Samsung doubles as a gaming hub, and it’s discounted for Labor Day

    September 1, 2025

    Web3’s Speed Is No Longer Optional. It’s the Path to Adoption.

    September 1, 2025

    LayerX uses AI to cut enterprise back-office workload, scores $100M in Series B

    September 1, 2025

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer
    © 2025 techurz. Designed by Pro.

    Type above and press Enter to search. Press Esc to cancel.