Skip to content

Instantly share code, notes, and snippets.

@Zeukkari
Created September 25, 2015 16:19
Show Gist options
  • Save Zeukkari/45c4a11439291901ab6c to your computer and use it in GitHub Desktop.
Save Zeukkari/45c4a11439291901ab6c to your computer and use it in GitHub Desktop.

RobotJS Installation Notes

  1. Download robotjs

wget https://github.com/octalmage/robotjs/archive/v0.2.4.zip

  1. Unzip robotjs

unzip v0.2.4.zip

  1. Go to RobotJS directory. Save the path for later.

cd robotjs-0.2.4/ ROBOTJS_MODULE_PATH=pwd

  1. Install node.js dependencies

npm install

  1. node-gyp magic

node-gyp rebuild

  1. Go to project directory and install robotjs from temp folder. Modify project directory path as necessary.

cd ~/git-leapgim/leapgim npm install $ROBOTJS_MODULE_PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment