Dub version

Andre Pany andre at s-e-a-p.de
Fri Aug 9 03:52:11 UTC 2019


On Friday, 9 August 2019 at 01:36:43 UTC, greatsam4sure wrote:
> On Friday, 9 August 2019 at 01:18:12 UTC, Elronnd wrote:
>>> Dub add is not supported in dub 1.11.0
>>
>> Use 'dub fetch'.
>
>
>
> dub fetch dub
> Fetching dub 1.16.0...
> Please note that you need to use `dub run <pkgname>` or add it 
> to dependencies of your package to actually use/run it. dub 
> does not do actual installation of packages outside of its own 
> ecosystem.
>
>
> besides in https://code.dlang.org/packages/arsd-official they 
> said use dub add arsd-official

Instead if specifying a dub package manually in your project 
dub.json thr command dub add will edit the dub.json for you.

Normally you get dub with the dmd/ldc/gdc package. Just 
download/install a recent package compiler package if you want to 
have command dub add.

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list