Pertu (Personal Erlang-related Tooling Utility) is an user-level, source-first version manager designed to simplify the management of different versions of Erlang-related tools on Microsoft Windows.
I created Pertu for my personal use, and while it works well for me, there may be some bugs. If you encounter any issues, please create an issue on GitHub.
The codebase might not be the most elegant, as I'm not very proficient at scripting. There may be several areas where improvements can be made.
To get started with Pertu, follow these steps:
Download the source code from GitHub.
Extract the src/
folder to a directory of your choice.
Add the src/
directory where you extracted Pertu to your system's environment path.
Before using Pertu, ensure you have the following prerequisites installed for that manager:
rebar3
: Erlang/OTPerlangls
: Erlang/OTP and Rebar3erlperf
: Erlang/OTP and Rebar3gleam
: Rust and Cargoefmt
: Rust and CargoTo list all available versions of a package, use the list-all
action:
pertu [manager] list-all
pertu erlangls list-all
pertu rebar3 list-all
To install a specific version of a package, use the install
action:
pertu [manager] install [version]
pertu rebar3 install 3.22.1
pertu gleam install latest
To list the installed versions of a package, use the list
action:
pertu [manager] list
pertu gleam list
pertu efmt list
To set a global version of a package for your user, use the global
action:
pertu [manager] global [version]
pertu erlangls global 0.48.1
pertu rebar3 global latest
To remove a specific version of a package, use the remove
action:
pertu [manager] remove [version]
pertu erlperf remove latest
pertu rebar3 remove 3.22.0
Pertu is licensed under the 3-Clause BSD license.