Basic Operations with Mill

Here's an example of how to test a project that uses mill:

mill utest.jvm[2.12.8].test
  • utest.jvm - the name of the compiled module (obtain from
  • 2.12.8 – Scala cross-compile version
  • test – task to run on the module specified with the specified Scala version

To get mill of the most recent version, first, find it in (e.g. 0.4.2-1-020e28). Copy the download link and substitute it in the following command instead of

# From
sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L > /usr/local/bin/mill && chmod +x /usr/local/bin/mill'