The manual (README) says: [Usage] 1. ... 2. ... 3. Build and run by running: dub --single main.d ERROR: Unknown command line flags: --single