Skip to content

[Automation] Batch script that downloads, extracts and launches D Compiler on Windows 10 or Windows 11

License

Notifications You must be signed in to change notification settings

vaido-world/Download-D-Compiler-Windows-10

Repository files navigation

Info: This project heavily depends on built in curl binary that was introduced into recent versions of Windows 10/11 operating system only.

TODO Support non-nightly http://downloads.dlang.org/releases/2021/

Download-D-Compiler-Windows-10

[Automation] Batch script that downloads, extracts and launches D Compiler on Windows 10 or Windows 11

Quick launch

curl --location "https://github.com/vaido-world/Download-D-Compiler-Windows-10/raw/main/windows10-download-dmd.cmd" | cmd

This is not a DMD compiler installer.
But probably will do the same things in the future.

The reason of the project:
The original installer of DMD does not support command line options.
I've got tired of clicking through the installer's wizard buttons.
Note: The original installer is little more than an archive extraction.

This script does not add the compiler to PATH environment variable.
add_to_path.cmd can be used to add a folder to PATH. (Requires Administrator Privilegies)
Has been partly integrated with the main script as well.

This project is here to provide DMD Compiler on Windows 10 and 11 operating systems flawlessly.


Default installation location: %SystemDrive%:\D\
Example: C:\D\dmd2\windows\bin\dmd.exe

Note: Command Prompts in a Windows operating systems are programmed to take the PATH environment
variable only at the instance's launch. Please restart your existing command prompt instances to take affect.


References:The Official installer

About

[Automation] Batch script that downloads, extracts and launches D Compiler on Windows 10 or Windows 11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published