I'm trying out alloy and installed node via homebrew and then ran the npm installing alloy via the command: npm install alloy -g
I am getting no error when i run the npm install.
I then create a new mobile project and try to run command "alloy new" as the documentation suggests (http://projects.appcelerator.com/alloy/docs/Alloy-bootstrap/index.html) and I get the error: alloy: command not found
Am I missing something
the full command should be
sudo npm install -g alloyafter which you should be able to run
which alloyto find alloy and
alloy --versionto confirm its version.
Turns out I need to add it to the .profile
Restarted terminal and it worked!
this worked for me, but i had to create the .profile file in my home directory (Mac OSX Mountain Lion) and added 1 line to it (without quotes as shown in the answer above): PATH=$PATH:/usr/local/bin/
Think you can help? Login to answer this question!