@basetree-cli/basetree
v1.0.4
Published
basetree coding agent CLI companion
Readme
basetree
basetree is an agentic, terminal-native coding companion that writes, refactors, and debugs code directly in your workspace.
🚀 Installation
Install the CLI globally via NPM:
npm install -g @basetree-cli/basetree🛠 Usage
1. Authenticate the CLI
Connect the CLI to your basetree account:
basetree login2. Configure Gemini 2.5 Flash API Key
Set your Gemini API Key in the config:
basetree config set geminiApiKey YOUR_GEMINI_API_KEY(Alternatively, you can export it as an environment variable: export GEMINI_API_KEY=your_key)
3. Run Agentic Coding Commands
Execute instructions inside any codebase directory:
basetree run "Add a validation function for emails in src/utils.js"The agent will scan the files, generate a plan, edit the code, and confirm the changes!
⚙ Commands list
basetree login— Authenticates CLI sessionbasetree config set <key> <value>— Set configuration parameterbasetree config get <key>— Get configuration parameterbasetree config list— List all current configurationsbasetree run "<prompt>"— Start agentic codebase execution using Gemini 2.5 Flash
