Dataconomy
  • News
    • Artificial Intelligence
    • Cybersecurity
    • DeFi & Blockchain
    • Finance
    • Gaming
    • Startups
    • Tech
  • Industry
  • Research
  • Resources
    • Articles
    • Guides
    • Case Studies
    • Glossary
    • Whitepapers
  • Newsletter
  • + More
    • Conversations
    • Events
    • About
      • About
      • Contact
      • Imprint
      • Legal & Privacy
      • Partner With Us
Subscribe
No Result
View All Result
  • AI
  • Tech
  • Cybersecurity
  • Finance
  • DeFi & Blockchain
  • Startups
  • Gaming
Dataconomy
  • News
    • Artificial Intelligence
    • Cybersecurity
    • DeFi & Blockchain
    • Finance
    • Gaming
    • Startups
    • Tech
  • Industry
  • Research
  • Resources
    • Articles
    • Guides
    • Case Studies
    • Glossary
    • Whitepapers
  • Newsletter
  • + More
    • Conversations
    • Events
    • About
      • About
      • Contact
      • Imprint
      • Legal & Privacy
      • Partner With Us
Subscribe
No Result
View All Result
Dataconomy
No Result
View All Result

Gemini AI now runs directly in the command line

Gemini CLI brings Google’s AI to Linux terminals, offering code help, task management, and research tools.

byAytun Çelebi
July 2, 2025
in Artificial Intelligence, News
Home News Artificial Intelligence
Share on FacebookShare on TwitterShare on LinkedInShare on WhatsAppShare on e-mail

AI integration is expanding into the Linux command line, exemplified by tools like Ollama, making its presence in this environment increasingly common.

The Gemini CLI tool enables users to access Google’s Gemini AI directly within their Linux terminal. This locally installed application supports various functions, including content generation, problem-solving, detailed research, and task management. Although initially designed for developers, Gemini CLI also serves end-users who require AI access without relying on web browsers or third-party graphical user interfaces.

Installation of Gemini CLI on Ubuntu-based distributions requires specific prerequisites. Users need a running instance of Ubuntu Linux or a compatible distribution, a user account with sudo privileges, and an active Google account. Prior to the initial execution of Gemini CLI, it is necessary to be signed into the Google account via the default web browser.

Stay Ahead of the Curve!

Don't miss out on the latest insights, trends, and analysis in the world of data, technology, and startups. Subscribe to our newsletter and get exclusive content delivered straight to your inbox.

  1. The installation process for Gemini CLI involves several steps. First, users must open a terminal window.
  2. Next, Node.js is installed because Gemini CLI utilizes the Node.js package manager (npm).
  3. This is achieved by executing the command sudo apt-get install nodejs -y.
  4. Following Node.js, npm itself is installed using the command sudo apt-get install npm -y.
  5. Finally, Gemini CLI is installed with the command sudo npm install -g @google/gemini-cli.

This method is noted as the reliable way to ensure the gemini command is properly recognized, addressing issues where other installation instructions might result in the command not being found.


Gemini to replace Google Assistant on Android soon


Should an error occur during the initial attempt to run Gemini, necessitating an updated version of Node.js, a specific set of commands can be used.

  • First, curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh is executed to download the setup script.
  • This is followed by sudo -E bash nodesource_setup.sh to run the script. Node.js is then reinstalled with sudo apt-get install nodejs -y.
  • After these steps, npm must be reinstalled using sudo apt-get install npm -y.

Upon successful installation, the first-run configuration of Gemini involves a series of prompts. The user initiates the process by typing gemini in the terminal. Gemini then prompts the user to select a theme, which is navigated using arrow keys in the curses-based application. Subsequently, the user selects an authentication method. While alternative authentication options such as a Gemini API Key or Vertex AI exist, logging in with a Google account is presented as the most straightforward method. After selecting “Login with Google,” pressing Enter opens the default web browser. The user then selects the desired Google account for authentication. Once authenticated, the terminal window transitions to a Gemini prompt, allowing the user to input their first query.


Featured image credit

Tags: FeaturedgeminiGoogleterminal

Related Posts

Apple’s App Store winners show AI is now just a hidden feature

Apple’s App Store winners show AI is now just a hidden feature

December 4, 2025
Uber launches robotaxi service in Dallas with Avride fleet

Uber launches robotaxi service in Dallas with Avride fleet

December 4, 2025
These are Google’s favorite Chrome extensions in 2025

These are Google’s favorite Chrome extensions in 2025

December 4, 2025
Superhuman’s AI email tools are now everywhere in your inbox

Superhuman’s AI email tools are now everywhere in your inbox

December 4, 2025
Get Amazon Music Unlimited for free for three months

Get Amazon Music Unlimited for free for three months

December 4, 2025
WordPress launches Telex AI to vibe code custom blocks

WordPress launches Telex AI to vibe code custom blocks

December 4, 2025

LATEST NEWS

Apple’s App Store winners show AI is now just a hidden feature

Uber launches robotaxi service in Dallas with Avride fleet

These are Google’s favorite Chrome extensions in 2025

Superhuman’s AI email tools are now everywhere in your inbox

Get Amazon Music Unlimited for free for three months

WordPress launches Telex AI to vibe code custom blocks

Dataconomy

COPYRIGHT © DATACONOMY MEDIA GMBH, ALL RIGHTS RESERVED.

  • About
  • Imprint
  • Contact
  • Legal & Privacy

Follow Us

  • News
    • Artificial Intelligence
    • Cybersecurity
    • DeFi & Blockchain
    • Finance
    • Gaming
    • Startups
    • Tech
  • Industry
  • Research
  • Resources
    • Articles
    • Guides
    • Case Studies
    • Glossary
    • Whitepapers
  • Newsletter
  • + More
    • Conversations
    • Events
    • About
      • About
      • Contact
      • Imprint
      • Legal & Privacy
      • Partner With Us
No Result
View All Result
Subscribe

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy Policy.