Search Docs…

Search Docs…

Guide

Getting Started

Getting Started

Welcome to the lang-source-cli documentation! This guide will walk you through the installation process and help you obtain the Gemini API key required for our project.

Installation

To get started, install lang-source-cli globally using npm. Ensure you have Node.js (version 14.0.0 or higher) and npm (version 7.0.0 or higher) installed on your system.

npm install -g

Once installed, verify the installation by running:

langsource --version

This command should display the current version of the CLI tool.

Obtaining the Gemini API Key

The Gemini API key is essential for using lang-source-cli’s AI-powered translation engine. Follow these steps to get your key:

  1. Visit the Gemini API Key Portal.

  2. Sign in or create an account.

  3. Navigate to the API section and click on "Generate API Key."

  4. Copy the key and keep it secure. You’ll need it when running translation commands.

Once you’ve completed these steps, you’re ready to start using lang-source-cli.