{"action":"closed","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/1285","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/1285/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/1285/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/1285/events","html_url":"https://github.com/hexojs/hexo/issues/1285","id":78121620,"number":1285,"title":"Hexo installation fails. OS X 10.9.5.","user":{"login":"Bozh","id":7104410,"avatar_url":"https://avatars.githubusercontent.com/u/7104410?v=3","gravatar_id":"","url":"https://api.github.com/users/Bozh","html_url":"https://github.com/Bozh","followers_url":"https://api.github.com/users/Bozh/followers","following_url":"https://api.github.com/users/Bozh/following{/other_user}","gists_url":"https://api.github.com/users/Bozh/gists{/gist_id}","starred_url":"https://api.github.com/users/Bozh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bozh/subscriptions","organizations_url":"https://api.github.com/users/Bozh/orgs","repos_url":"https://api.github.com/users/Bozh/repos","events_url":"https://api.github.com/users/Bozh/events{/privacy}","received_events_url":"https://api.github.com/users/Bozh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hexojs/hexo/labels/pending-reply","name":"pending-reply","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-19T14:53:43Z","updated_at":"2015-08-14T16:59:44Z","closed_at":"2015-08-14T16:59:43Z","body":"Hi, I've installed all the prerequisite tools but when I input `npm install -g hexo-cli` the following error messages occur:\r\n\r\n```\r\nnpm ERR! Darwin 13.4.0\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"hexo-cli\"\r\nnpm ERR! node v0.12.3\r\nnpm ERR! npm  v2.9.1\r\nnpm ERR! path /usr/local/lib/node_modules/hexo-cli\r\nnpm ERR! code EACCES\r\nnpm ERR! errno -13\r\n\r\nnpm ERR! Error: EACCES, rmdir '/usr/local/lib/node_modules/hexo-cli'\r\nnpm ERR!     at Error (native)\r\nnpm ERR!  { [Error: EACCES, rmdir '/usr/local/lib/node_modules/hexo-cli']\r\nnpm ERR!   errno: -13,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   path: '/usr/local/lib/node_modules/hexo-cli' }\r\nnpm ERR! \r\nnpm ERR! Please try running this command again as root/Administrator.\r\nnpm ERR! error rolling back Error: EACCES, rmdir '/usr/local/lib/node_modules/hexo-cli'\r\nnpm ERR! error rolling back     at Error (native)\r\nnpm ERR! error rolling back  { [Error: EACCES, rmdir '/usr/local/lib/node_modules/hexo-cli']\r\nnpm ERR! error rolling back   errno: -13,\r\nnpm ERR! error rolling back   code: 'EACCES',\r\nnpm ERR! error rolling back   path: '/usr/local/lib/node_modules/hexo-cli' }\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/Bert/npm-debug.log\r\n```\r\n\r\nI tried the next step to init a folder, but my terminal says that `hexo: command not found`. \r\nI'm using `OS X 10.9.5 (Mavericks)`, `git 2.2.1`, `node v0.12.3`, `npm v2.9.1`, `Xcode 6.1`, `CLTools 6.2.0.0.1.1424975374`. Any input will be much appreciated! "}}