ldcup

Download and manage D compiler [ldc2].


Keywords
application, desktop, development, d, dlang, version-manager
License
Apache-2.0
Install
dub fetch ldcup --version 1.0.1

Documentation

ldcup

Download and manage ldc2 compiler.

Note

For DMD, see dlang website - Downloads.

Inspired by rustup and zigup.

Usage

$ ldcup install # default latest version
# or
$ ldcup install ldc2-master # latest-CI version
# or
$ ldcup install ldc2-${version} # optional: -v
$ ldcup list # list installed compilers in default path directory
$ ldcup uninstall ldc2-${version}

## Custom path directory
$ ldcup list --install-dir=custom-path # list installed compilers in custom path directory
# or set DC_PATH environment variable
$ DC_PATH=customPath ldcup list # list installed compilers in custom path directory

Helper

$ ldcup                                         
Usage: ldcup [command] [options]
Commands:
  install [compiler]   Install a D compiler (default: ldc2-latest)
  uninstall [compiler] Uninstall a specific compiler
  list                 List installed compilers
  --install-dir=DIR    Specify the installation directory
  --verbose, -v        Enable verbose output
  --remote             List all available compiler releases
  --help, -h           Show this help message

License

Apache-2.0