From d7e1a1c45f752cabc91cbb74f4a3705bee6cb6c2 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 17 Oct 2013 14:36:34 +1300 Subject: [PATCH] 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. --- docs/en/installation/composer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/installation/composer.md b/docs/en/installation/composer.md index 093b2e8f9..1af63e939 100644 --- a/docs/en/installation/composer.md +++ b/docs/en/installation/composer.md @@ -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.