Skip to main content

CLI Installation

The Erold CLI lets you manage tasks and projects from your terminal without leaving your editor.

Installation

npm (Recommended)

npm install -g @erold/cli

yarn

yarn global add @erold/cli

pnpm

pnpm add -g @erold/cli

Verify Installation

erold --version
# yet-cli v1.0.0

Authentication

Login with your API key:

erold login --key erold_your_api_key_here

# Or interactively
erold login
# Paste your API key when prompted

The CLI stores your credentials in ~/.yet/config.json.

Quick Test

# List your projects
erold project list

# Should show your projects:
# MYAPP  My Application  12 tasks
# DOCS   Documentation   5 tasks

Configuration

Default Project

Set a default project to avoid typing --project every time:

erold config set defaultProject MYAPP

# Now you can run:
erold task list
# Instead of:
erold task list --project MYAPP

Output Format

Choose your preferred output format:

# Table format (default)
erold config set format table

# JSON format (for scripting)
erold config set format json

# Minimal format
erold config set format minimal

Shell Completion

Bash

erold completion bash >> ~/.bashrc
source ~/.bashrc

Zsh

erold completion zsh >> ~/.zshrc
source ~/.zshrc

Fish

erold completion fish > ~/.config/fish/completions/yet.fish

Uninstalling

npm uninstall -g @erold/cli

# Remove config
rm -rf ~/.yet

Next Steps