.TH DUB-ADD-LOCAL 1 "2024-04-15" "The D Language Foundation" "The D Language Foundation" .SH NAME dub-add-local \- Adds a local package directory (e.g. a git repository) .SH SYNOPSIS \fBdub add-local \fR<\fIpath\fR> [<\fIversion\fR>] \fIOPTIONS\&.\&.\&.\fR .SH DESCRIPTION Adds a local package directory to be used during dependency resolution. This command is useful for registering local packages, such as GIT working copies, that are either not available in the package registry, or are supposed to be overwritten. The version of the package is either determined automatically (see the "add-path" command, or can be explicitly overwritten by passing a version on the command line. See 'dub add-path -h' for a way to register multiple local packages at once. .SH OPTIONS .PP \fB\-\-system\fR .RS 4 Register system-wide instead of user-wide .RE .SS COMMON OPTIONS See \fBdub\fR(1) .SH EXIT STATUS .TP .BR 0 DUB succeeded .TP .BR 1 usage errors, unknown command line flags .TP .BR 2 package not found, package failed to load, miscellaneous error .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2024 by The D Language Foundation .SH ONLINE DOCUMENTATION .URhttp://code.dlang.org/docs/commandline http://code.dlang.org/docs/commandline .UE .SH SEE ALSO \fBdub\fR(1), \fBdub-remove-local\fR(1)