mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2555 from halkyon/readme_fixes
Use quotes around composer require argument for some shells.
This commit is contained in:
commit
688d853a95
@ -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 require silverstripe/forum:*
|
||||
composer require "silverstripe/forum:*"
|
||||
|
||||
This will install the forum module in the latest compatible version.
|
||||
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,
|
||||
use the following command instead:
|
||||
|
||||
composer require --no-update silverstripe/forum:*
|
||||
composer require --no-update "silverstripe/forum:*"
|
||||
composer update --no-dev
|
||||
|
||||
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