Skip to content
Back to blog list
Gemini CLI Nedir? Açık Kaynak AI Agent Kullanım Kılavuzu
Artificial Intelligence

What Is Ship CLI? Open Source AI Agent Use Guide u

Automatically translated
Masqot Community
Masqot CommunityCreator
5 min read
wp:paragrap h

Shipni CLI announced by Google on 25 June 2025 FreeTags open source (Apache 2.0) is an artificial intelligence tool. Do you want to write code with artificial intelligence, automate tasks and improve your own smart assistant? The vessel is fully activated at this point with its CLI, open source and strong structure.

/wp:paragrap h wp:image {"id":25154,"sizeSlug":"large","linkDestination":"none"} /wp:image wp:head g

What Is Ship CLI?

/wp:headin g wp:paragrap h

Traditional artificial intelligence assistants often work in web browsers, Ship CLI directly receives commands in natural language as integrated into your terminal and returns results instantly. Thus eliminates browser-oriented interaction needs in tasks such as code writing, debugging, content production and research.

/wp:paragrap h wp:paragrap h

One of the most important advantages of Gemini CLI, open source It is. The fully reviewed code on GitHub is presented with some; developers can contribute as they wish, fix errors or customize them to their needs. Node to your system. js (v18+) and npm/yarn is a personal Google account. With Google account Free After receiving the “Gemini Code Assist” license, there is a limitless access to 60, 1,000 API requests per minute.

/wp:paragrap h wp:paragrap h

The brain of the vehicle, Google Ship 2.5 Tags creates the model. This model, 1 million tokensThe context of up to 30,000 lines of code or long documents can simultaneously process. Thanks to the wide context window, we can produce consistent and contextually rich responses by grasping large code bases, project documentation and long chat history at one time.

/wp:paragrap h wp:head g

What is Setup and First Step Methods?

/wp:headin g wp:heading {"level":3}

Pre-Terms: Prepare Your System

/wp:headin g wp:list {"ordered":true}
    wp:list-item
  1. Node Tags wp:list
      wp:list-item
    • Version 18 or uzer Home must.
    • /wp:list-item wp:list-item
    • To check your current version: node -v
    • /wp:list-item wp:list-item
    • Picture if not loaded Node Tags You can download and install the appropriate package from the site.
    • /wp:list-item
    /wp:list
  2. /wp:list-item wp:list-item
  3. Package Manager wp:list
      wp:list-item
    • pm (In conjunction with Node.js) or by preference Tags available.
    • /wp:list-item wp:list-item
    • to check your npm version: npm -v
    • /wp:list-item
    /wp:list
  4. /wp:list-item wp:list-item
  5. Operating System wp:list
      wp:list-item
    • Windows 10+ works on macOS 10.15+ or a modern Linux distribution (Ubuntu, Fedora, etc.)
    • /wp:list-item
    /wp:list
/wp:list-item wp:list-item
  • Google Account wp:list
      wp:list-item
    • A personal Google account is required for first authentication. Additional configuration may be required in corporate/Workspace accounts.
    • /wp:list-item
    /wp:list
  • /wp:list-item /wp:list wp:Pink {"url":"https://youtu.be/Uy6LcpyGj7w?si=XViBERXXqFoFqLQk","type":"video","providerNameSlug":youtube","responsive":true,"className":"wp-Pinkd-aspect-16-9 wp-has-aspect-ratio"}
    When loaded, the content comes from YouTube servers; YouTube may place cookies on your device and receive information about your visit.
    /wp: Thursday wp:heading {"level":3}

    Installation Methods

    /wp:headin g wp:paragrap h

    You can install Gemini CLI in two basic ways:

    /wp:paragrap h wp:heading {"level":4}

    a) Single Expedition Operation with NPX

    /wp:headin g wp:code
    npx https://github.com/google-gemini/gemini-cli
    /wp:code wp:list
      wp:list-item
    • The command directly downloads and runs the package from GitHub.
    • /wp:list-item wp:list-item
    • The most up-to-date version of each use automatically loads.
    • /wp:list-item
    /wp:list wp:heading {"level":4}

    b) Global Setup

    /wp:headin g wp:code
    npm install -g @google/gemini-cli
    /wp:code wp:list
      wp:list-item
    • gemini allows you to use the command from each array.
    • /wp:list-item wp:list-item
    • If you experience permission error in Linux/macOS sudo add.
    • /wp:list-item
    /wp:list wp:heading {"level":4}

    c) From Homebrew (macOS/Linux)

    /wp:headin g wp:code
    brew install gemini-cli
    /wp:code wp:list
      wp:list-item
    • Quick and clean installation option for those who use Homebrew.
    /wp:list-item /wp:list wp:gallery {"linkTo":"none"} wp:image {"id":25156,"sizeSlug":"large","linkDestination":"none"} /wp:image /wp:gallery wp:heading {"level":3}

    Initial Operation and Theme Selection

    /wp:headin g wp:paragrap h

    After the installation is completed, enter the following command in the terminal:

    /wp:paragrap h wp:code
    gemini
    /wp:code wp:list {"ordered":true}
      wp:list-item
    1. Color Theme Selection: wp:list
        wp:list-item
      • CLI offers a variety of theme options.
      • /wp:list-item wp:list-item
      • Browse with arrow keys and confirm with Enter.
      • /wp:list-item
      /wp:list
    2. /wp:list-item wp:list-item
    3. Guided Start: wp:list
        wp:list-item
      • A short welcome message and basic script promotion appears.
      • /wp:list-item
      /wp:list
    4. /wp:list-item
    /wp:list wp:paragrap h

    This step reduces eye fatigue in long-term use, allowing you to easily customize the tool.

    /wp:paragrap h wp:heading {"level":3}

    Authentication: Google Session u

    /wp:headin g wp:paragrap h

    After the initial operation or gemini auth login with command:

    /wp:paragrap h wp:code
    gemini auth login
    /wp:code wp:list
      wp:list-item
    • Your browser opens and you’ll be asked to log in with your Google account.
    • /wp:list-item wp:list-item
    • You will receive a “Authentication successful” message that returns to CLI after successful entry.
    • /wp:list-item wp:list-item
    • Free “Gemini Code Assist” license 60 minutesTags 1,000 per day model request Home
    • /wp:list-item
    /wp:list wp:heading {"level":3}

    Installation Verification and Fast Test

    /wp:headin g wp:paragrap h

    Check everything correctly with the following commands:

    /wp:paragrap h wp:code
    gemini --version
    /wp:code wp:list
      wp:list-item
    • Shows the load version.
    • /wp:list-item
    /wp:list wp:code
    gemini "Merhaba, kendini tanıtır mısın?"
    /wp:code wp:list
      wp:list-item
    • Test the response of your AI assistant with a simple natural language request.
    • /wp:list-item
    /wp:list wp:paragrap h

    If you’re getting a hassle-free response, you’ve started your first chat with artificial intelligence through your terminal.

    /wp:paragrap h wp:image {"id":25157,"width":"688px","height":"auto","sizeSlug":"full","linkDestination":"none"} /wp:image wp:head g

    What Are the Basic Use and Commands of Ship CLI?

    /wp:headin g wp:heading {"level":3}

    1. Start CLI

    /wp:headin g wp:list
      wp:list-item
    • Interactive Mode (REPL) gemini This command starts an interactive terminal session like chat; every input you do is processed instantly.
    • /wp:list-item wp:list-item
    • Single Flight Inquiry gemini -p "Proje dizinindeki tüm JavaScript dosyalarını listele" -pReturn prompt and return response once. Ideal for quick queries without having to log in.
    • /wp:list-item wp:list-item
    • Piping (Pipeing) echo "Count to five" | gemini You can process the standard output directly to CLI.
    • /wp:list-item
    /wp:list wp:heading {"level":3}

    2. 2. Slash Commands (/)

    /wp:headin g wp:paragrap h

    The most widely used commands of Gemini CLI begin with the “slash”. Below you can see a few of the most important:

    /wp:paragrap h wp:table
    Home TagsDescription
    /helpShows list and brief descriptions of existing commands.
    /toolsInstalled tools (file, shell, web search etc. ) lists.
    /clearCleans the terminal screen (Ctrl+L also sees the same work).
    /statsReport token usage and savings statistics.
    /memory showAll GEMINI.md images by combining their contexts.
    /memory refreshAll GEMINI.md reinstall files.
    /chat save He saves anki chat with the specified label.
    /chat resume It continues with the same tag to the chat previously recorded.
    /restore [checkpoint_adı]Restored snapshot for file changes.
    /authChanges the authentication method.
    /themeAllows you to change the CLI view contact.
    /bugCLI forms error notice.
    /quitThe session finishes and returns to normal terminal mode.
    /wp:table wp:heading {"level":3}

    3. Context Commands (@)

    /wp:headin g wp:paragrap h

    To include files and folders on the project prompt @ You can use the sign:

    /wp:paragrap h wp:list
      wp:list-item
    • Single File gemini -p "Bu fonksiyonun ne işe yaradığını açıkla" @./src/utils.js
    • /wp:list-item wp:list-item
    • Folder gemini -p "Tüm bileşenleri React 18’e uygun şekilde güncelle" @./src/components/
    • /wp:list-item
    /wp:list wp:paragrap h

    CLI, .gitignore. They only need to track files by passing files automatically.

    /wp:paragrap h wp:image {"id":25158,"sizeSlug":"large","linkDestination":"none"} /wp:image wp:heading {"level":3}

    4. Shell Commands (!)

    /wp:headin g wp:paragrap h

    Direct shell commands to run:

    /wp:paragrap h wp:list
      wp:list-item
    • Single Command gemini > !ls -la
    • /wp:list-item wp:list-item
    • Permanent Shell Mode gemini > !
    • /wp:list-item
    /wp:list wp:shortcode [shell mode active] /wp:shortcode wp:paragrap h

    $ git status $npm test $ ! # again '!' Tags

    /wp:paragrap h wp:paragrap h

    Shell tool provides seamless use of tests, build scripts, linters and other CLI tools.

    /wp:paragrap h wp:paragrap h

    Ship CLI, It offers a powerful and accessible tool that converts our way to work with artificial intelligence agents in the open source world. For developers, researchers and curious users, flexible, customizable and community-supported this platform is now much easier to create AI solutions. You can also offer your own contribution to the artificial intelligence of the future by experimenting the Gemini CLI.

    /wp:paragrap h

    wp:paragrap h Shipni CLI announced by Google on 25 June 2025 Free Tags open source (Apache 2.0) is an artificial intelligence tool. Do you want to write code with artificial intelligence, automate tasks and improve your own smart assistant? The vessel is fully activated at this point with its CLI, open source and strong structure. /wp:paragrap h wp:image {"id":25154,"sizeSlug":"large","linkDestination":"none"} /wp:image wp:head g What Is Ship CLI? /wp:headin g wp:paragrap h Traditional artificial intelligence assistants often work in web browsers, Ship CLI directly receives commands in natural language as integrated into your terminal and returns results instantly. Thus eliminates browser-oriented interaction needs in tasks such as code writing, debugging, content production and research. /wp:paragrap h wp:paragrap h One of the most important advantages of Gemini CLI, open source It is. The fully reviewed code on GitHub is presented with some; developers can contribute as they wish, fix errors or customize them to their needs. Node to your system. js (v18+) and npm/yarn is a personal Google account. With Google account Free After receiving the “Gemini Code Assist” license, there is a limitless access to 60, 1,000 API requests per minute. /wp:paragrap h wp:paragrap h The brain of the vehicle, Google Ship 2.5 Tags creates the model. This model, 1 million tokens The context of up to 30,000 lines of code or long documents can simultaneously process. Thanks to the wide context window, we can produce consistent and contextually rich responses by grasping large code bases, project documentation and long chat history at one time. /wp:paragrap h wp:head g What is Setup and First Step Methods? /wp:headin g wp:heading {"level":3} Pre-Terms: Prepare Your System /wp:headin g wp:list {"ordered":true} wp:list-item Node Tags wp:list wp:list-item Version 18 or uzer Home must. /wp:list-item wp:list-item To check your current version: node -v /wp:list-item wp:list-item Picture if not loaded Node Tags You can download and install the appropriate package from the site. /wp:list-item /wp:list /wp:list-item wp:list-item Package Manager wp:list wp:list-item pm (In conjunction with Node.js) or by preference Tags available. /wp:list-item wp:list-item to check your npm version: npm -v /wp:list-item /wp:list /wp:list-item wp:list-item Operating System wp:list wp:list-item Windows 10+ works on macOS 10.15+ or a modern Linux distribution (Ubuntu, Fedora, etc.) /wp:list-item /wp:list /wp:list-item wp:list-item Google Account wp:list wp:list-item A personal Google account is required for first authentication. Additional configuration may be required in corporate/Workspace accounts. /wp:list-item /wp:list /wp:list-item /wp:list wp:Pink {"url":"https://youtu.be/Uy6LcpyGj7w?si=XViBERXXqFoFqLQk","type":"video","providerNameSlug":youtube","responsive":true,"className":"wp-Pinkd-aspect-16-9 wp-has-aspect-ratio"} https://youtu.be/Uy6LcpyGj7w?si=XViBERXXqFoFqLQk /wp: Thursday wp:heading {"level":3} Installation Methods /wp:headin g wp:paragrap h You can install Gemini CLI in two basic ways: /wp:paragrap h wp:heading {"level":4} a) Single Expedition Operation with NPX /wp:headin g wp:code npx https://github.com/google-gemini/gemini-cli /wp:code wp:list wp:list-item The command directly downloads and runs the package from GitHub. /wp:list-item wp:list-item The most up-to-date version of each use automatically loads. /wp:list-item /wp:list wp:heading {"level":4} b) Global Setup /wp:headin g wp:code npm install -g @google/gemini-cli /wp:code wp:list wp:list-item gemini allows you to use the command from each array. /wp:list-item wp:list-item If you experience permission error in Linux/macOS sudo add. /wp:list-item /wp:list wp:heading {"level":4} c) From Homebrew (macOS/Linux) /wp:headin g wp:code brew install gemini-cli /wp:code wp:list wp:list-item Quick and clean installation option for those who use Homebrew. /wp:list-item /wp:list wp:gallery {"linkTo":"none"} wp:image {"id":25156,"sizeSlug":"large","linkDestination":"none"} /wp:image /wp:gallery wp:heading {"level":3} Initial Operation and Theme Selection /wp:headin g wp:paragrap h After the installation is completed, enter the following command in the terminal: /wp:paragrap h wp:code gemini /wp:code wp:list {"ordered":true} wp:list-item Color Theme Selection: wp:list wp:list-item CLI offers a variety of theme options. /wp:list-item wp:list-item Browse with arrow keys and confirm with Enter. /wp:list-item /wp:list /wp:list-item wp:list-item Guided Start: wp:list wp:list-item A short welcome message and basic script promotion appears. /wp:list-item /wp:list /wp:list-item /wp:list wp:paragrap h This step reduces eye fatigue in long-term use, allowing you to easily customize the tool. /wp:paragrap h wp:heading {"level":3} Authentication: Google Session u /wp:headin g wp:paragrap h After the initial operation or gemini auth login with command: /wp:paragrap h wp:code gemini auth login /wp:code wp:list

    Masqot Community
    Masqot CommunityCreator
    @masqot

    Comments (0)

    Log in to comment.

    Log in
    No comments yet. Be the first to comment!