
What Is Ship CLI? Open Source AI Agent Use Guide u
Automatically translatedShipni 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 gWhat Is Ship CLI?
/wp:headin g wp:paragrap hTraditional 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 hOne 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 hThe 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 gWhat 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-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-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-item
- A personal Google account is required for first authentication. Additional configuration may be required in corporate/Workspace accounts. /wp:list-item
Installation Methods
/wp:headin g wp:paragrap hYou 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:codenpx 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
b) Global Setup
/wp:headin g wp:codenpm install -g @google/gemini-cli /wp:code wp:list - wp:list-item
geminiallows you to use the command from each array. /wp:list-item wp:list-item - If you experience permission error in Linux/macOS
sudoadd. /wp:list-item
c) From Homebrew (macOS/Linux)
/wp:headin g wp:codebrew install gemini-cli /wp:code wp:list - wp:list-item
- Quick and clean installation option for those who use Homebrew.
Initial Operation and Theme Selection
/wp:headin g wp:paragrap hAfter the installation is completed, enter the following command in the terminal:
/wp:paragrap h wp:codegemini /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-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-item
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 hAfter the initial operation or gemini auth login with command:
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
Installation Verification and Fast Test
/wp:headin g wp:paragrap hCheck everything correctly with the following commands:
/wp:paragrap h wp:codegemini --version /wp:code wp:list - wp:list-item
- Shows the load version. /wp:list-item
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
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 gWhat 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)
geminiThis 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" | geminiYou can process the standard output directly to CLI. /wp:list-item
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 Tags | Description |
|---|---|
/help | Shows list and brief descriptions of existing commands. |
/tools | Installed tools (file, shell, web search etc. ) lists. |
/clear | Cleans the terminal screen (Ctrl+L also sees the same work). |
/stats | Report token usage and savings statistics. |
/memory show | All GEMINI.md images by combining their contexts. |
/memory refresh | All 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. |
/auth | Changes the authentication method. |
/theme | Allows you to change the CLI view contact. |
/bug | CLI forms error notice. |
/quit | The session finishes and returns to normal terminal mode. |
3. Context Commands (@)
/wp:headin g wp:paragrap h To include files and folders on the project prompt @ You can use the sign:
- 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
CLI, .gitignore. They only need to track files by passing files automatically.
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
$ git status $npm test $ ! # again '!' Tags
/wp:paragrap h wp:paragrap hShell tool provides seamless use of tests, build scripts, linters and other CLI tools.
/wp:paragrap h wp:paragrap hShip 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 hHollywood ve Yapay Zeka: 2025'in Hayal Kırıklığı Yaratan Projeleri


Açık Problemler İçin Prompt Mühendisliği Teknikleri




