Shopping Lists
CookCLI generates shopping lists directly from your .cook files. If multiple recipes share ingredients, quantities are combined automatically — two recipes that each need mozzarella produce a single entry with the total amount.
Organizing by Store Aisle
An aisle.conf file maps ingredients to store sections so your shopping list follows your natural path through the store:
Use it with the shopping list command:
Ingredient aliases: The pipe syntax (tomatoes | cherry tomatoes | Roma tomatoes) groups variations under one aisle entry. Similarly, olive oil | extra virgin olive oil maps both to the same section.
Unknown items: Ingredients not in your config appear in an "other" category — a reminder to update your aisle map.
Multiple stores: You can maintain separate configs for different stores — one for the supermarket, another for the farmers market.
Scaling
Recipes can be scaled when generating lists:
Individual ingredients can be locked from scaling with =:
Here, flour scales but salt stays at 1 tbsp regardless of the multiplier.
Pantry Awareness
With a pantry.conf file, shopping lists automatically exclude items you already have:
If a recipe needs 500g of flour and your pantry shows 5kg, flour won't appear on the list.
See Pantry Management for the full pantry.conf format.
See Also
- Meal Planning — plan meals and generate combined lists
- Pantry Management — track what you already have
- CookCLI Shopping List Command — full command reference