How do I install a package globally?

Paul Backus snarwin at gmail.com
Sat Nov 11 02:33:37 UTC 2023


On Saturday, 11 November 2023 at 01:50:54 UTC, Trevor wrote:
> How does one install packages globally, and how can I write 
> programs that use the third-party packages without being 
> wrapped in a dub file?

Dub currently isn't able to do this. There's been some discussion 
about adding a `dub install` command, but it seems like no 
consensus was reached:

https://github.com/dlang/dub/issues/839


More information about the Digitalmars-d-learn mailing list