{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/3125","labels_url":"https://api.github.com/repos/npm/npm/issues/3125/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/3125/comments","events_url":"https://api.github.com/repos/npm/npm/issues/3125/events","html_url":"https://github.com/npm/npm/issues/3125","id":10578032,"number":3125,"title":"Mac OS X NPM install probem \"-bash : npm: command not found\"","user":{"login":"yramagicman","id":1757823,"avatar_url":"https://avatars.githubusercontent.com/u/1757823?v=3","gravatar_id":"","url":"https://api.github.com/users/yramagicman","html_url":"https://github.com/yramagicman","followers_url":"https://api.github.com/users/yramagicman/followers","following_url":"https://api.github.com/users/yramagicman/following{/other_user}","gists_url":"https://api.github.com/users/yramagicman/gists{/gist_id}","starred_url":"https://api.github.com/users/yramagicman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yramagicman/subscriptions","organizations_url":"https://api.github.com/users/yramagicman/orgs","repos_url":"https://api.github.com/users/yramagicman/repos","events_url":"https://api.github.com/users/yramagicman/events{/privacy}","received_events_url":"https://api.github.com/users/yramagicman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2013-02-02T22:55:13Z","updated_at":"2015-02-02T21:33:32Z","closed_at":"2013-02-11T03:25:32Z","body":"I have recently installed node.js on my Mac (10.8) via the package installer. The installer provides node and npm. I've run into an issue though, when I run npm, no matter what I'm doing, I get the error quoted in the title. (see screenshot below)\r\n\r\n![Screen Shot 2013-02-02 at 5 45 24 PM](https://f.cloud.github.com/assets/1757823/121335/44e463ce-6d8a-11e2-924a-6bb44617663d.png)\r\nThe funny thing is that node.js works. (again see screenshot below)\r\n\r\n![Screen Shot 2013-02-02 at 5 47 31 PM](https://f.cloud.github.com/assets/1757823/121339/95e3b0b8-6d8a-11e2-8d91-17ea0d42c1f1.png)\r\n\r\nI've tried installing npm via shell, and once I circumvented the permissions error I was running into, npm installed, and still gave me an error.\r\n\r\nThe only hint I have to what the problem might be is in the following screenshot.\r\n![Screen Shot 2013-02-02 at 5 51 15 PM](https://f.cloud.github.com/assets/1757823/121344/2bb9a994-6d8b-11e2-93cf-33fc4420d7bb.png)\r\n\r\nAny ideas? I hope I've provided sufficient info to fix this issue. If you need any more info, please let me know. If this is the wrong place to submit this issue I apologize, I've never submitted an issue on Github before.\r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/72542421","html_url":"https://github.com/npm/npm/issues/3125#issuecomment-72542421","issue_url":"https://api.github.com/repos/npm/npm/issues/3125","id":72542421,"user":{"login":"pmahmud","id":9063020,"avatar_url":"https://avatars.githubusercontent.com/u/9063020?v=3","gravatar_id":"","url":"https://api.github.com/users/pmahmud","html_url":"https://github.com/pmahmud","followers_url":"https://api.github.com/users/pmahmud/followers","following_url":"https://api.github.com/users/pmahmud/following{/other_user}","gists_url":"https://api.github.com/users/pmahmud/gists{/gist_id}","starred_url":"https://api.github.com/users/pmahmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmahmud/subscriptions","organizations_url":"https://api.github.com/users/pmahmud/orgs","repos_url":"https://api.github.com/users/pmahmud/repos","events_url":"https://api.github.com/users/pmahmud/events{/privacy}","received_events_url":"https://api.github.com/users/pmahmud/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T21:33:32Z","updated_at":"2015-02-02T21:33:32Z","body":"I could not fix it using brew commands suggested by ownsourcing, so I used the installer package from the nodejs official site and that solved my problem."}}