Setting up D development environment on a Mac with Xamarin Studio

Published: 2016-01-29 by Pradeep Gowda.
Tagged: dlang, macosx

Basic installation

Install D language stuff:

brew install dmd
brew install dub

Install Xamarin Studio –

Install Mono-D for Xamarin Studio to get auto completion, build etc.,. If you are familiar with eclipse’s way of adding features via plugins, this will be very familiar.

Download essential D sources

I strongly recommend that you checkout the following libraries and add their paths in the “includes” tab. See “Setup Mono-D, step 4” of Mono-D document.

git clone
git clone
git clone

Set D compiler toolchain

Xamarin Studio / Preferences / D / Compiler toolchains

Set D includes

Xamarin Studio / Preferences / D / Compiler toolchains / includes (tab)

Set dub option

Xamarin Studio / Preferences / D / Dub Options

Additional tools


See also: Using Sublime Text 3 for D programming