logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dub - Package and build management system for D

Author

       Copyright (c) 1999-2021 by The D Language Foundation

Description

       Note:  Use  "dub  add  <dependency>" if you just want to use a certain package as a dependency, you don't
       have to explicitly fetch packages.

       Explicit retrieval/removal of packages is only needed when you want to put  packages  in  a  place  where
       several  applications  can  share  them. If you just have a dependency to add, use the `add` command. Dub
       will do the rest for you.

       Without specified options, placement/removal will default to a user wide shared location.

       Complete applications can be retrieved and run easily by e.g.

       $ dub fetch vibelog --cache=local

       $ dub run vibelog --cache=local

       This will grab all needed dependencies and compile and run the application.

       Note: DUB does not do a system installation of packages. Packages  are  instead  only  registered  within
       DUB's  internal  ecosystem.  Generation  of  native  system  packages/installers  may be added later as a
       separate feature.

Files

dub.sdl, dub.json

Name

       dub - Package and build management system for D

Online Documentation

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

Options

       --version=VALUE
              Use the specified version/branch instead of the latest available match  The  remove  command  also
              accepts "*" here as a wildcard to remove all versions of the package from the specified location

       --force-remove
              Deprecated option that does nothing

See Also

dmd(1), dub(1)

The D Language Foundation                          2021-11-09                                     DUB-INSTALL(1)

Synopsis

dubinstall <package>[@<version-spec>] OPTIONS...

See Also