-
Notifications
You must be signed in to change notification settings - Fork 26
Installing
Jaydson Gomes edited this page Jun 8, 2014
·
28 revisions
Clone the harmonic repository:
git clone [email protected]:es6rocks/harmonic.git
Run the install.sh:
cd harmonic
./install.sh
If you have some trouble, you can try to install manually:
- Create a file named "nodeHarmony" in your path /usr/local/bin with the following code:
#!/bin/sh
node --harmony "$@"
- Give the right permission:
sudo chmod a+x nodeHarmony
Now, if your run in your console:
nodeHarmony myfile.js
You will be running node with the harmony flag.
Harmonic depends on this configuration.
- Install node dependencies:
npm install
- Harmonic is not available on npm (yet), so you need to run the following code to get harmonic on your global path:
npm link