grind is a tool to help you configure and maintain your machine. I wrote a
blog post
explaining why I created grind.
- Download or clone grind.
- Check the
definitionsdirectory and write your own definition. - run
./grind update
grind provides a bootstrap command for a pre-setup for grind itself:
grind bootstrapThis is a special definition and it should set and install the requirements
from grind itself. On macOS it means installing XCode CLI
Tools and
Homebrew.
grind update is the daily command from grind, it will execute and run all
definitions for current machine.
All grind does is execute some functions in series defined in the definitions directory.
Here's an example of a definition on macOS:
This definition will install git through homebrew if is not already installed.
use "brew"
brew_pkg "git"First grind will load and execute whatever is in the global directory,
these are assumed to be definitions to be applied to any machine.
After that grind will load scripts from the machines directory, where it will try
to find a subdirectory with the machine name and from there load the scripts. These
definitions are specific for each machine you want to maintain.