batect.cmd scripts are designed to be committed alongside your project, and not installed globally. Committing
them alongside your code improves consistency within your team, as everyone uses the same version of batect. They will
automatically pull down the correct version of batect for your operating system.
Download the latest version of
batect.cmdfrom the releases page, and copy them into your project.
Note that you only need the scripts - you don't need to download
If you're on Linux or macOS, make sure the script is executable: run
chmod +x batect.
batect.ymlto define your tasks and the environments they run in:
batect requires Docker 18.03.1 or newer, Java 8 or newer (although this requirement will be removed before v1.0), and:
- On Linux and macOS: Bash and
- On Windows: Windows 10
batect supports both Linux and Windows containers.
A 64-bit version of Java is required on Windows.