Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmd-k

cmd-k converts written instruction into executable shell commands. It's a cursor command k that works from the terminal.

Demo

examples:

# List files
ck list all files
# → ls -la

# System info
ck check disk usage
# → df -h

The command appears pre-filled in your terminal, you just have to press Enter to execute it.

Installation

it supports bash and zsh for now.

curl -fsSL https://raw.githubusercontent.com/samsja/cmd-k/main/install.sh | bash
Extra configuration

OpenAI (default):

api_key = "sk-..."
model = "gpt-4o-mini"

vLLM:

api_key = "EMPTY"
base_url = "http://localhost:8000/v1"
model = "your-model-name"

OpenRouter:

api_key = "sk-or-..."
base_url = "https://openrouter.ai/api/v1"
model = "openai/gpt-4o-mini"

credits

  • cursor command k
  • claude code for auto managing the code. (As of now, november 2025, this is the type of software that AI can manage end to end. Can't wait for the next 6 months of progress)

About

cmd-k converts written instruction into executable shell commands, cursor command k that works from the terminal.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages