Dataconomy
  • News
    • Artificial Intelligence
    • Cybersecurity
    • DeFi & Blockchain
    • Finance
    • Gaming
    • Startups
    • Tech
  • Industry
  • Research
  • Resources
    • Articles
    • Guides
    • Case Studies
    • Whitepapers
  • AI toolsNEW
  • Newsletter
  • + More
    • Glossary
    • 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
    • Whitepapers
  • AI toolsNEW
  • Newsletter
  • + More
    • Glossary
    • 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

Xbox Developer Direct returns January 22 with Fable and Forza Horizon 6

Xbox Developer Direct returns January 22 with Fable and Forza Horizon 6

January 9, 2026
Dell debuts disaggregated infrastructure for modern data centers

Dell debuts disaggregated infrastructure for modern data centers

January 9, 2026
TikTok scores partnership with FIFA for World Cup highlights

TikTok scores partnership with FIFA for World Cup highlights

January 9, 2026
YouTube now lets you hide Shorts in search results

YouTube now lets you hide Shorts in search results

January 9, 2026
Google transforms Gmail with AI Inbox and natural language search

Google transforms Gmail with AI Inbox and natural language search

January 9, 2026
Disney+ to launch TikTok-style short-form video feed in the US

Disney+ to launch TikTok-style short-form video feed in the US

January 9, 2026

LATEST NEWS

Xbox Developer Direct returns January 22 with Fable and Forza Horizon 6

Dell debuts disaggregated infrastructure for modern data centers

TikTok scores partnership with FIFA for World Cup highlights

YouTube now lets you hide Shorts in search results

Google transforms Gmail with AI Inbox and natural language search

Disney+ to launch TikTok-style short-form video feed in the US

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
    • Whitepapers
  • AI tools
  • Newsletter
  • + More
    • Glossary
    • 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.