Skip to main content
Genkit is available for multiple programming languages. Choose your preferred language and follow the installation instructions below.

JavaScript/TypeScript

Genkit for JavaScript/TypeScript is production-ready with full feature support.

Install Genkit Core

Install the core Genkit package using your preferred package manager:

Install Model Provider Plugin

Genkit uses plugins to integrate with AI model providers. Install at least one provider:

Install Genkit CLI

The Genkit CLI provides development tools including the Developer UI for testing and debugging:
Verify the installation:

Go

Genkit for Go is production-ready with full feature support.

Install Genkit Package

Add Genkit to your Go project:

Install Plugin Packages

Install the provider plugin you want to use:
Google AI
Anthropic
Ollama

Install Genkit CLI

The CLI is the same for all languages:
Or using npm:

Python

Python support is currently in Alpha with core functionality available.
Genkit for Python is in early development. The core features are functional, but the API may change.

Install Genkit Core

Install using pip:
Or using uv (recommended for faster installs):

Install with Provider Plugin

You can install Genkit with provider plugins as optional dependencies:
Google AI
Ollama
OpenAI Compatible

Install Genkit CLI

The CLI works across all languages:

Next Steps

Once you’ve installed Genkit, continue with the quickstart guide for your language:

JavaScript Quickstart

Get started with JavaScript/TypeScript

Go Quickstart

Get started with Go

Python Quickstart

Get started with Python

Verify Your Installation

To verify everything is installed correctly:
  1. Check that your language-specific package is available (import it in your code)
  2. Run genkit --version to confirm the CLI is installed
  3. Follow the quickstart for your language to create your first AI application

Troubleshooting

Node.js Version

Genkit requires Node.js 18 or later. Check your version:

Go Version

Genkit requires Go 1.21 or later:

Python Version

Genkit requires Python 3.10 or later:

Permission Issues

If you encounter permission errors when installing the CLI globally, you may need to use sudo (on macOS/Linux) or run your terminal as administrator (on Windows). Alternatively, configure npm to use a different directory for global installations.