Skip to content

Commands

njlr edited this page Mar 4, 2019 · 4 revisions

Init

$ buckaroo init

Create a Buckaroo manifest in the current working directory.

Resolve

$ buckaroo resolve

Generates a fresh lock-file from the existing manifest.

To resolve with an upgrading strategy:

$ buckaroo resolve --upgrade

Install

$ buckaroo install

Installs the packages as described in the current lock-file.

Add

$ buckaroo add <package>[@<version>]...

Adds the given package(s) to the current manifest, updates the lock-file and installs it to the packages folder.

If no satisfactory resolution can be found then nothing is changed.

For example:

$ buckaroo add github.com/buckaroo-pm/boost-thread

If you want to add a dependency directly on Git (not GitHub, GitLab or BitBucket), please see ad-hoc dependencies.

Upgrade

$ buckaroo upgrade [ <package> ]

Upgrades the given package(s) to the highest version that meets the constraints in the manifest. This command will also install the upgraded packages.

If no packages are specified, then all packages are upgraded.

Remove

$ buckaroo remove <package>...

Removes an existing package from the manifest and updates the lock-file.

If no satisfactory resolution can be found then nothing is changed.

Version

$ buckaroo version

Displays the version of this installation of Buckaroo.

Clone this wiki locally