Install
There are several ways to install the
poly
tool, which determines how thepoly
tool will be executed:- 1.As a stand-alone command line tool, executed as a Java program, e.g.
poly info
:- The
poly
tool can be executed from any directory. - A script named
poly
is installed on your local disk and added to the system path, with a content like this:java -jar poly.jar
- 2.
- The
poly
tool can only be executed from inside a Polylith workspace directory (it uses the:poly
alias indeps.edn
). - Which version of the poly tool to use can easily be selected by changing the SHA in
deps.edn
.
- 3.
- The
poly
tool can be executed from any directory. - Different versions of the poly tool can easily be installed and switched to.
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
poly
tool, so please follow the installation instructions for your operating system of choice.
Last modified 1yr ago