Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ComFreek/3dcf8069b491ed022b6f to your computer and use it in GitHub Desktop.
Save ComFreek/3dcf8069b491ed022b6f to your computer and use it in GitHub Desktop.
How to use IO.js (with NPM and other tools relying on 'node' in PATH)
1. Download `start-iojs-ps.bat` and put it in your project folder.
2. Download [IO.js](https://iojs.org/en/index.html) and put `iojs.exe` and `iojs.lib` into `[your-project-folder]/iojs`.
3. Rename `iojs.exe` to `node.exe`.
4. Whenever you want to use IO.js in a command line, simply start `start-iojs-ps.bat` by double-clicking it in Explorer.
SET mypath=%~dp0iojs
SET PATH=%mypath%;%PATH%
cls
powershell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment