tldr/pages/common/cradle-package.md

32 lines
571 B
Markdown
Raw Normal View History

2018-11-09 16:57:11 +00:00
# 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}}`