From be886fb2f91c9898ed7516fa9fcd63f1c94ebb2e Mon Sep 17 00:00:00 2001 From: SassNinja Date: Fri, 17 Aug 2018 12:26:24 +0200 Subject: [PATCH] add more foundation-cli install instructions for windows user --- docs/pages/installation.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/pages/installation.md b/docs/pages/installation.md index 0507335eb..e684367fe 100644 --- a/docs/pages/installation.md +++ b/docs/pages/installation.md @@ -185,6 +185,17 @@ After you selected "Foundation for Sites", Foundation CLI will ask you which tem

To remove the Foundation 5 CLI, run gem uninstall foundation. After testing the Foundation 6 CLI, if you want to remove it to go back to the old CLI, run npm uninstall foundation-cli --global.

+
+

Windows users: make sure you've python v2.7 available in your node environment since it's required by the node-gyp tool. There are two way to achieve this

+ +
    +
  1. Install the windows-build-tools (recommended) and make python afterwards accessible via npm config set python "%USERPROFILE%\.windows-build-tools\python27\python.exe"
  2. +
  3. Install python (not recommended) and add it to your system environment variables
  4. +
+ +

The first way is recommended if you've not installed pythong v2.7 yet as it doesn't affect your machine outside the node environment. In case you've already installed python v2.7 you may of course skip both ways and start using foundationc-cli immediately.

+
+ --- ## Download -- 2.47.2