There are several ways to install the
polytool, which determines how the
polytool will be executed:
- 1.As a stand-alone command line tool, executed as a Java program, e.g.
polytool can be executed from any directory.
- A script named
polyis installed on your local disk and added to the system path, with a content like this:
java -jar poly.jar
- 2.By the Clojure CLI, e.g.
clojure -M:poly info:
polytool can only be executed from inside a Polylith workspace directory (it uses the
- Which version of the poly tool to use can easily be selected by changing the SHA in
With this said, it's useful to install the tool both as a stand-alone command line tool, and any or both of the other two variants, but it's mainly up to your preferences how you prefer to use the tool.
Now it's time to install the
polytool, so please follow the installation instructions for your operating system of choice.