Open-source AI coding assistant for the terminal, written in Go.
go install github.com/yanmxa/gencode@latestOther methods
Binary
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
curl -sL "https://github.com/yanmxa/gencode/releases/latest/download/gen_${OS}_${ARCH}.tar.gz" | tar xz
sudo mv gen_* /usr/local/bin/genFrom Source
git clone https://github.com/yanmxa/gencode.git
cd gencode && make install- Multi-provider support — Anthropic, OpenAI, Google Gemini, and more
- Built-in tools — Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch
- Flexible context — Manage models, tools, and skills at runtime
gen # Interactive mode
gen "explain this code" # Non-interactive modeMIT