Tiếng Việt | English
Warning
Currently, Apotheke is under development.
One-liner (recommended):
curl -sS https://raw.githubusercontent.com/versenilvis/apotheke/main/install.sh | sudo shImportant
Apotheke uses root permission (sudo) just to put its binary file in /usr/bin instead of ~/.local/bin, so you won't need to export ~/.local/bin path in your shell config
Please read here
Or with Go:
go install github.com/versenilvis/apotheke/cmd/apotheke@latestOr build from source:
git clone https://github.com/versenilvis/apotheke
cd apotheke
make installAdd to your shell config to enable the a shortcut:
Bash:
echo 'eval "$(apotheke init bash)"' >> ~/.bashrcZsh:
echo 'eval "$(apotheke init zsh)"' >> ~/.zshrcFish:
echo 'apotheke init fish | source' >> ~/.config/fish/config.fishImportant
- Please read from the docs
Important
- Please read from the docs
Important
- Please read from the docs
rm ~/.local/bin/apotheke
rm -rf ~/.local/share/apothekeRemove the eval line from your shell config file.
A: To store 'codex resume' and 'cursor-agent --resume=' commands that I always forget after turn off the terminal.
A: Shell aliases are static and require editing config files. Apotheke offers:
- Fuzzy matching (a kd → kubectl delete pod)
- Frecency ranking (frequently used commands rank higher)
- Tags and organization
- Safety confirmations for dangerous commands
- Argument appending (a kdp my-pod → kubectl delete pod my-pod)
A: History searches all commands. Apotheke only stores commands you explicitly bookmark with meaningful names.
A: Yes, but shell integration requires Git Bash, WSL, or PowerShell with custom setup.
A: Not built-in yet. Maybe in the future. Or you can manually copy the database file.
A: Well, I just asked ChatGPT what is "storage" in Acient Greek and it said 'Apotheke'.
Please follow my Contributing when you make a pull request.