1DUB-INSTALL(1)             The D Language Foundation            DUB-INSTALL(1)
2
3
4

NAME

6       dub - Package and build management system for D
7

SYNOPSIS

9       dub install <package>[@<version-spec>] OPTIONS...
10

DESCRIPTION

12       Note:  Use  "dub  add  <dependency>"  if you just want to use a certain
13       package as a dependency, you don't have to explicitly fetch packages.
14
15
16
17       Explicit retrieval/removal of packages is only needed when you want  to
18       put  packages  in a place where several applications can share them. If
19       you just have a dependency to add, use the `add` command. Dub  will  do
20       the rest for you.
21
22
23
24       Without  specified  options,  placement/removal  will default to a user
25       wide shared location.
26
27
28
29       Complete applications can be retrieved and run easily by e.g.
30
31       $ dub fetch vibelog --cache=local
32
33       $ dub run vibelog --cache=local
34
35
36
37       This will grab all needed dependencies and compile and run the applica‐
38       tion.
39
40
41
42       Note:  DUB  does not do a system installation of packages. Packages are
43       instead only registered within DUB's internal ecosystem. Generation  of
44       native system packages/installers may be added later as a separate fea‐
45       ture.
46

OPTIONS

48       --version=VALUE
49              Use the specified version/branch instead of the latest available
50              match  The remove command also accepts "*" here as a wildcard to
51              remove all versions of the package from the specified location
52
53       --force-remove
54              Deprecated option that does nothing
55

FILES

57       dub.sdl, dub.json
58

AUTHOR

60       Copyright (c) 1999-2022 by The D Language Foundation
61

ONLINE DOCUMENTATION

63http://code.dlang.org/docs/commandlinehttp://code.dlang.org/docs/commandline
64

SEE ALSO

66       dmd(1), dub(1)
67
68
69
70The D Language Foundation         2022-07-27                    DUB-INSTALL(1)
Impressum