mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Use quotes around composer require argument for some shells.
The asterisk is a reserved character in some shells and will cause an error if you don't put quotes around the argument, as it will be interpreted.
This commit is contained in:
parent
eb3cd197ac
commit
d7e1a1c45f
@ -64,14 +64,14 @@ see [Using development versions](#using-development-versions).
|
|||||||
|
|
||||||
Composer isn't only used to download SilverStripe CMS, it can also be used to manage all SilverStripe modules. Installing a module can be done with the following command:
|
Composer isn't only used to download SilverStripe CMS, it can also be used to manage all SilverStripe modules. Installing a module can be done with the following command:
|
||||||
|
|
||||||
composer require silverstripe/forum:*
|
composer require "silverstripe/forum:*"
|
||||||
|
|
||||||
This will install the forum module in the latest compatible version.
|
This will install the forum module in the latest compatible version.
|
||||||
By default, Composer updates other existing modules (like `framework` and `cms`),
|
By default, Composer updates other existing modules (like `framework` and `cms`),
|
||||||
and installs "dev" dependencies like PHPUnit. In case you don't need those dependencies,
|
and installs "dev" dependencies like PHPUnit. In case you don't need those dependencies,
|
||||||
use the following command instead:
|
use the following command instead:
|
||||||
|
|
||||||
composer require --no-update silverstripe/forum:*
|
composer require --no-update "silverstripe/forum:*"
|
||||||
composer update --no-dev
|
composer update --no-dev
|
||||||
|
|
||||||
The `require` command has two parts. First is `silverstripe/forum`. This is the name of the package.
|
The `require` command has two parts. First is `silverstripe/forum`. This is the name of the package.
|
||||||
|
Loading…
Reference in New Issue
Block a user