Edit on GitHub
Jump to docs navigation

Nut command / Extensions / extensions:install

Note: You are currently reading the documentation for Bolt 3.7. Looking for the documentation for Bolt 5.2 instead?

Nut's extensions:install command installs an extension by name and version.

Usage

    php ./app/nut extensions:install <name> <version>

Arguments

Argument Description
name Name of the extension to install
version Version of the extension to install. Can be either a Composer version constraint, or a specific version number

For more information on version constraints, see Composer's page on version constraints.

Example

Installing BoltForms

$ php ./app/nut extensions:install bolt/boltforms ^3.0

Starting install of bolt/boltforms:^3.0… [DONE]
Loading composer repositories with package information
Updating dependencies
Package operations: 1 install, 0 updates, 0 removals
  - Installing bolt/boltforms (v3.1.0): Downloading (connecting...)Downloading (100%)
> Bolt\Composer\EventListener\PackageEventListener::handle
Writing lock file
Generating optimized autoload files
> Bolt\Composer\EventListener\PackageEventListener::dump


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.