Windows Host Setup
These instructions have been tested on Windows 8 Enterprise, 64 bit. This should work also in regular Home versions of Windows as well as the newer Windows 10.
The steps below will enable you to develop Crosswalk applications that run on Windows.
- Install Node.js
- Install WiX Toolset
- Install crosswalk-app-tools
- Verify your environment
Install Node.js
- Download Node.js from https://nodejs.org/en/.
- When the installer starts, make sure to add Node.js in the PATH as shown below:
Install WiX Toolset
- Download WiX Toolset: http://wixtoolset.org/
- Install WiX Toolset.
- Add the Wix Toolset in your PATH. Edit environment variables for your account. In the Windows Start menu, search for “Environment variables”. Alternatively, click on the System icon in the Control Panel; then go to Advanced system settings and click the Environment Variables button. You should see this dialog box:
Edit the Path environment variable as follows:
- Select the Path environment variable (in the top select box, User variables…). If it does not exist, add it.
- Click Edit.
- In the Variable value field, add the path to the executable for each of the installed tools, separated with “;”. For this example, we added the following at the end of the Path variable:
;C:\Program Files (x86)\WiX Toolset v3.10\bin - Click OK.
The same task can be done on the command-line (note the quotes “”):
Install crosswalk-app-tools
Crosswalk-app-tools is a simple, NPM-based tool to create installable packages of your Crosswalk application.
Type the following inside a command shell (using cmd.exe for example):
Note: If you are developing behind a proxy, see this page
Verify your environment
Check that you have installed the tools properly by running these commands:
Congratulations, your system is ready for Windows development with Crosswalk.
Now the host is set up, you can build a Crosswalk application.
What’s next?
Build an application