Downloading Latest D Language DMD compiler via Windows 10 batch script file.
singingbush
singingbush at hotmail.com
Wed Dec 18 07:16:30 UTC 2019
On Tuesday, 17 December 2019 at 16:55:56 UTC, BoQsc wrote:
> Initialy I though about a way to download DMD compiler on a
> single line of command prompt.
> However it turned out that dlang website makes downloading the
> latest version a complex thing.
>
> Here, I'm sharing a batch script that might be interesting if
> you are wondering how to download and launch latest d language
> compiler setup in a single click.
>
> Usage: Copy and paste the script below into a text file
> and rename the text file to a file name that ends in .cmd or
> .bat extension
>
> Examples:
> download-dmd.cmd
> download-dmd.bat
>
> .cmd and .bat extensions are the same thing, no worries about
> that.
>
>
>>[...]
There's no need because both DMD and LDC are in available via
chocolatey.
https://chocolatey.org/search?q=Dmd
So simply: choco install dmd
More information about the Digitalmars-d
mailing list