3 days ago

Hello everyone,

Initially released a small and simple project inspired by rustup (without extra components) and unofficial zigup (by John Marler).

That will download and extract only LDC2 compiler.

Commands

  • install latest (default) or master or specific version
  • list installed versions
  • uninstall installed versions

It is now possible to download the compiler and "activate" it through scripts (sh/bat/fish) based on the official dlang install.sh.

All commands are available in the readme!

FAQ

Is there (or will there be) DMD support?

The initial proposal is just LDC2, since the application gets data exclusively from Github (latest-releases & latest-CI [commit hash]).

And the GDC compiler never saw any recent tarballs available to download and extract.

Anyway there are other alternatives like the official script and dvm by Jacob Carlborg.

Can I download tarballs from other platforms?

Currently, NO! By default ldcup will only download package to the target host. (like zigup)

Release TAG
https://github.com/kassane/ldcup/releases/tag/v1.0.0

I hope you enjoy this small contribution.
The project has a permissive license for forks and other contributions for improvements.

Greetings,