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.
- Pertu allows you to install, list, and manage different versions of tools like Rebar3 and ErlangLS.
- Pertu offers simple and intuitive commands for managing tools, making it easy to work with different versions.
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 Cargo
To list all available versions of a package, use the list-all action:
pertu [manager] list-allpertu erlangls list-allpertu rebar3 list-allTo install a specific version of a package, use the install action:
pertu [manager] install [version]pertu rebar3 install 3.22.1pertu gleam install latestTo list the installed versions of a package, use the list action:
pertu [manager] listpertu gleam listpertu efmt listTo set a global version of a package for your user, use the global action:
pertu [manager] global [version]pertu erlangls global 0.48.1pertu rebar3 global latestTo remove a specific version of a package, use the remove action:
pertu [manager] remove [version]pertu erlperf remove latestpertu rebar3 remove 3.22.0Pertu is licensed under the 3-Clause BSD license.