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: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:Python
Python support is currently in Alpha with core functionality available.
Install Genkit Core
Install using pip: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:- Check that your language-specific package is available (import it in your code)
- Run
genkit --versionto confirm the CLI is installed - 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 usesudo (on macOS/Linux) or run your terminal as administrator (on Windows).
Alternatively, configure npm to use a different directory for global installations.