Free & open source · macOS, Linux, Windows

CookCLI

Your recipe folder, from the terminal. Shopping lists, a local web server, search, reports and a static website — all from plain .cook files, the UNIX way.

$ brew install cookcli

Or grab a binary, RPM or cargo install — see all install options.

~/recipes
$ cook sl "Breakfast/Easy Pancakes.cook" Risotto.cook
[fruit and veg]
onion           1
[milk and dairy]
milk            250 ml
butter          knob
egg             3
[tinned goods and baking]
flour           125 g
[packaged goods, pasta and sauces]
arborio rice    320 g
[dried herbs and spices]
salt            pinch, 1 tbsp, 1 tsp
saffron threads 1 pinch

$ cook search tomato
Salads/Caprese.cook
Shared/Guacamole.cook
Neapolitan Pizza.cook

cook server

Your recipes in the browser

One command turns your folder into a web app on your network: browse and search, scale recipes, build a shopping list, plan with menus and keep a pantry.

localhost:9080/recipe/Neapolitan Pizza
Neapolitan Pizza in the cook server web UI, with ingredients, cookware and numbered steps
$ cook server ~/recipes --host
Try the live demo Server docs →

Building an integration? The server exposes an HTTP API. Want it always on? Run it on a Raspberry Pi.

All commands

Full reference for every command. Install options are on the download page.

CommandAliasDescription
reciperParse, validate and display recipe files
shopping-listslGenerate a combined shopping list from recipes
serversStart a web server to browse recipes
searchfSearch through your recipe collection
importiImport recipes from websites
reportrpGenerate custom reports using templates
doctorAnalyze recipes for issues
pantrypManage and analyze pantry inventory
buildBuild a static website from your recipes
seedInitialize with example recipes
lspStart the Language Server Protocol server
updateuUpdate CookCLI to the latest version
completionsGenerate shell completion scripts

Sync

cook login signs CookCLI in to Cook Cloud sync (Cook Basic). While cook server runs, it keeps your recipe folder in step with the Cook mobile apps and Cook Editor. cook logout signs out.

Reference

PageDescription
Server APIHTTP endpoints exposed by cook server, for building integrations