Consuming Packages
Before you can use DPM, you need a Package Source - you must add at least one package source.
By default, the public repository is added as a package source if missing.
You can also use a directory (local or network) as a package source, usefull for private packages you do not want to share publicly.
Installing a package
In the IDE
See IDE integration
From the command line.
Open a command prompt in your Delphi project's folder (ie the folder where the dproj file lives).
To install a package, we use the dpm install command
e.g
dpm install VSoft.CommandLineThis would install the latest version of the VSoft.CommandLine package (assuming it was found), for all supported platforms that are enabled in the Delphi project file. If there are more than one Delphi project files in the folder, the package will be installed into all projects found.
NOTE
Note that installing a package modifies the dproj file.
For more information on the installation process, see how it works.