just is a handy way to save and run project-specific commands.
just has a ton of useful features, and many improvements over make:
- just is a command runner, not a build system, so it avoids much of make's complexity and idiosyncrasies. No need for .PHONY recipes!
- Linux, MacOS, and Windows are supported with no additional dependencies. (Although if your system doesn't have an sh, you'll need to choose a different shell.)
- Errors are specific and informative, and syntax errors are reported along with their source context.
- Recipes can accept command line arguments.
- Wherever possible, errors are resolved statically. Unknown recipes and circular dependencies are reported before anything runs.
- just loads .env files, making it easy to populate environment variables.
- Recipes can be listed from the command line.
- Command line completion scripts are available for most popular shells.
- Recipes can be written in arbitrary languages, like Python or NodeJS.
- just can be invoked from any subdirectory, not just the directory that contains the justfile.
Jay Desai has FOMU. No, you read that right. As a first-time founder and CEO of health technology startup PatientPing, he’s got a healthy fear of messing up. This anxiety especially bubbles to the surface when it has to do with his team — now over 100 employees — and particularly the seven who report directly to him. He’s seen too many immensely talented and productive teams stall because of a subtle misunderstanding on how to best work with each other. After consecutive year-long searches for his Head of Product and Head of Operations, he didn’t want to squander that investment because he couldn’t figure out how to work with them.