tldr/pages/common/cradle-package.md

571 B

cradle package

Manage packages for a Cradle instance.

  • Display a list of available packages:

cradle package list

  • Search for a package:

cradle package search {{package}}

  • Install a package from Packagist:

cradle package install {{package}}

  • Install a specific version of a package:

cradle package install {{package}} {{version}}

  • Update a package:

cradle package update {{package}}

  • Update a package to a specific version:

cradle package update {{package}} {{version}}

  • Remove a specific package:

cradle package remove {{package}}