Skip to content

Installation and setup

Ryan G edited this page Aug 28, 2017 · 2 revisions

Installing dub and dmd

dmd is the reference compiler for the D programming language, and dub is the package / project manager. Install dmd from here and dub from here to get started.

Creating a dub project

Open your system's command line (The command prompt on Windows, Terminal on macOS, and one of various programs on Linux), and make a directory that you want to store your project in. Run the command dub init and enter the information it asks for. When it prompts for dependencies, add dgt to get the project.

That's it!

Now you can run your project with the dub command, and you're all set!

Clone this wiki locally