OnWorks favicon

dub - Online in the Cloud

Run dub in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dub that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



DUB - Package and build management system for D


dub [--version] [<command>] [<options...>] [-- [<application arguments...>]]


Manages the DUB project in the current directory. If the command is omitted, DUB will
default to "run". When running an application, "--" can be used to separate DUB options
from options passed to the application.

Run "dub <command> --help" to get help for a specific command.

You can use the "http_proxy" environment variable to configure a proxy server to be used
for fetching packages.

Package creation

init [<directory> [<dependency>...]]
Initializes an empty package skeleton

Build, test and run

run [<package>]
Builds and runs a package (default command)

build [<package>]
Builds a package (uses the main package in the current working directory by

test [<package>]
Executes the tests of the selected package

generate <generator> [<package>]
Generates project files using the specified generator

describe [<package>]
Prints a JSON description of the project and its dependencies

clean [<package>]
Removes intermediate build files and cached build results

dustmite <destination-path>
Create reduced test cases for build errors

Package management

fetch <name>
Manually retrieves and caches a package

remove <name>
Removes a cached package

upgrade [<package>]
Forces an upgrade of all dependencies

add-path <path>
Adds a default package search path

remove-path <path>
Removes a package search path

add-local <path> [<version>]
Adds a local package directory (e.g. a git repository)

remove-local <path>
Removes a local package directory

list Prints a list of all local packages dub is aware of

add-override <package> <version-spec> <target-path/target-version>
Adds a new package override.

remove-override <package> <version-spec>
Removes an existing package override.

Prints a list of all local package overrides

Removes cached metadata

Common options

-h --help
Display general or command specific help

Path to operate in instead of the current working dir

Search the given DUB registry URL first when resolving dependencies. Can be
specified multiple times.

Skips searching certain package registries for dependencies:

none: Search all configured registries (default)

standard: Don't search on http://code.dlang.org/

all: Search none of the configured registries

Do not perform any action, just print what would be done

--bare Read only packages contained in the current directory

-v --verbose
Print diagnostic output

-q --quiet
Only print warnings and errors

Print no messages

Puts any fetched packages in the specified location [local|system|user].

March 2016 dub(1)

Use dub online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 2
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 3
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    Download SMPlayer
  • 4
    AAX to MP3
    AAX to MP3
    Usage: - Install the Audible Manager
    and open a file of your account. - Sign
    in into your audible account (in the
    application). Now the program can
    convert you...
    Download AAX to MP3
  • 5
    TestLink is a web based Test Management
    tool. The application provides Test
    specification, Test plans and execution,
    Reporting, Requirements specification
    and ...
    Download TestLink
  • 6
    XDXF - XML Dictionary Exchange Format
    XDXF - XML Dictionary Exchange Format
    XDXF is a project to unite all existing
    open dictionaries and provide both users
    and developers with universal XML-based
    format, convertible from and to other ...
    Download XDXF - XML Dictionary Exchange Format
  • 7
    Transmission Remote GUI
    Transmission Remote GUI
    Transmission Remote GUI is a feature
    rich cross platform front-end to
    remotely control a Transmission
    Bit-Torrent client daemon via its RPC
    protocol. Transmissi...
    Download Transmission Remote GUI
  • More »

Linux commands