To get started with the Gemini CLI, you need to set up your development environment. This involves installing the package via npm and configuring your authentication credentials.
1. Prerequisites
Ensure you have Node.js (version 18 or higher) installed on your system. You can verify this by running node -v in your terminal.
2. Installation
Install the Gemini CLI globally using npm to access the command from anywhere in your terminal: