www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC2 Version Manager v1.0 - Unofficial

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.



- `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!**






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](http://dvm.dub.pm/) by Jacob Carlborg.



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,
Dec 18 2024