Forum Discussion

RobertT's avatar
7 years ago

How to Install the Lithium Community SDK on Windows

Hi All, 

 

After a bit of digging around, although not officially supported by Lithium yet I've worked out the process to install and use the Lithium Community SDK natively on Windows, the process is relatively straightforward as you'll see below, however it does take a little while for the dependencies to compile.

 

This works for Windows 7, 8 and 10:

 

  1. Install the latest stable version of NodeJS LTS (version 8.x) at the time of writing this post.
  2. Open Windows PowerShell as an Admin (right click and select Run as Administrator)
  3. run the following commands in powershell:
    1. npm install --production windows-build-tools  (note this will take a while to complete).

    2. npm install -g gulp 

    3. npm install -g lithium-sdk

 

After you finish the steps above, close PowerShell and re-open it as a regular user and you can continue to work as normal with the typical commands.

For more information see the Community SDK Documentation

34 Replies

  • Yes,

    I ran into those issues a long time ago and I've asked Khoros to update the docs that Windows is not supported.
    I'm not using SDK since I'm on Windows.
  • There are ways to get the SDK to run on windows, it's a bit long-winded but I have the steps documented somewhere that I can share.

    it does involve installing a few missing dependencies manually to get it to run and I've not tested WSL as an option which might simplify the process somewhat.

    We've used the SDK on windows without any issues here. If you're interested in the steps let me know and I'll pull together a guide to share.