Platform: xubuntu 14.04 64bit
# wget https://nodejs.org/dist/v0.12.5/node-v0.12.5-linux-x64.tar.gz
unpack,mv to /opt
# ln -s /opt/node-v0.12.5-linux-x64/bin/node /usr/bin/
# ln -s /opt/node-v0.12.5-linux-x64/bin/npm /usr/bin/
check
# node --version
v0.12.5
# npm --version
2.11.2
# npm install hexo-cli -g --registry=https://registry.npm.taobao.org
check
# hexo version
hexo-cli: 0.1.7
os: Linux 3.16.0-43-generic linux x64
http_parser: 2.3
node: 0.12.5
v8: 3.28.71.19
uv: 1.6.1
zlib: 1.2.8
modules: 14
openssl: 1.0.1o
# npm install hexo --save
check:
# hexo version
hexo: 3.1.1
os: Linux 3.16.0-43-generic linux x64
http_parser: 2.3
node: 0.12.5
v8: 3.28.71.19
uv: 1.6.1
zlib: 1.2.8
modules: 14
openssl: 1.0.1o
# npm install
> dtrace-provider@0.5.0 install /data/github/myblog/blog/node_modules/hexo/node_modules/bunyan/node_modules/dtrace-provider
> node scripts/install.js
npm WARN optional dep failed, continuing fsevents@0.3.6
npm WARN optional dep failed, continuing fsevents@0.3.6
hexo-renderer-ejs@0.1.0 node_modules/hexo-renderer-ejs
├── ejs@1.0.0
└── lodash@2.4.2
hexo-renderer-marked@0.2.5 node_modules/hexo-renderer-marked
├── object-assign@2.1.1
├── marked@0.3.3
├── hexo-util@0.1.7 (ent@2.2.0, bluebird@2.9.30, highlight.js@8.6.0)
└── strip-indent@1.0.1 (get-stdin@4.0.1)
hexo@3.1.1 node_modules/hexo
├── hexo-front-matter@0.2.2
├── pretty-hrtime@1.0.0
├── abbrev@1.0.7
├── titlecase@1.0.2
├── archy@1.0.0
├── text-table@0.2.0
├── bluebird@2.9.30
├── moment-timezone@0.3.1
├── lodash@3.10.0
├── moment@2.10.3
├── tildify@1.1.0 (os-homedir@1.0.0)
├── hexo-cli@0.1.7 (minimist@1.1.1)
├── minimatch@2.0.8 (brace-expansion@1.1.0)
├── hexo-util@0.1.7 (ent@2.2.0, highlight.js@8.6.0)
├── swig-extras@0.0.1 (markdown@0.5.0)
├── through2@1.1.1 (xtend@4.0.0, readable-stream@1.1.13)
├── warehouse@1.0.2 (graceful-fs@3.0.8, cuid@1.2.5, JSONStream@0.10.0)
├── cheerio@0.19.0 (entities@1.1.1, dom-serializer@0.1.0, htmlparser2@3.8.3, css-select@1.0.0)
├── strip-indent@1.0.1 (get-stdin@4.0.1)
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── swig@1.4.2 (optimist@0.6.1, uglify-js@2.4.23)
├── hexo-i18n@0.2.1 (sprintf-js@1.0.2)
├── js-yaml@3.3.1 (esprima@2.2.0, argparse@1.0.2)
├── hexo-fs@0.1.3 (escape-string-regexp@1.0.3, graceful-fs@3.0.8, chokidar@0.12.6)
├── nunjucks@1.3.4 (optimist@0.6.1, chokidar@0.12.6)
└── bunyan@1.4.0 (safe-json-stringify@1.0.3, dtrace-provider@0.5.0, mv@2.1.1)
hexo-generator-tag@0.1.2 node_modules/hexo-generator-tag
├── object-assign@2.1.1
└── hexo-pagination@0.0.2 (utils-merge@1.0.0)
hexo-generator-index@0.1.3 node_modules/hexo-generator-index
├── object-assign@2.1.1
└── hexo-pagination@0.0.2 (utils-merge@1.0.0)
hexo-generator-archive@0.1.3 node_modules/hexo-generator-archive
├── object-assign@2.1.1
└── hexo-pagination@0.0.2 (utils-merge@1.0.0)
hexo-generator-category@0.1.3 node_modules/hexo-generator-category
├── object-assign@2.1.1
└── hexo-pagination@0.0.2 (utils-merge@1.0.0)
hexo-renderer-stylus@0.2.3 node_modules/hexo-renderer-stylus
├── stylus@0.50.0 (css-parse@1.7.0, mkdirp@0.3.5, sax@0.5.8, source-map@0.1.43, debug@2.2.0, glob@3.2.11)
└── nib@1.1.0 (stylus@0.49.3)
hexo-server@0.1.2 node_modules/hexo-server
├── object-assign@2.1.1
├── open@0.0.5
├── mime@1.3.4
├── bluebird@2.9.30
├── chalk@0.5.1 (escape-string-regexp@1.0.3, ansi-styles@1.1.0, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── morgan@1.6.0 (basic-auth@1.0.2, on-headers@1.0.0, depd@1.0.1, debug@2.2.0, on-finished@2.3.0)
├── connect@3.4.0 (utils-merge@1.0.0, parseurl@1.3.0, debug@2.2.0, finalhandler@0.4.0)
├── serve-static@1.10.0 (escape-html@1.0.2, parseurl@1.3.0, send@0.13.0)
└── compression@1.5.0 (bytes@2.1.0, on-headers@1.0.0, vary@1.0.0, debug@2.2.0, compressible@2.0.3, accepts@1.2.9)
# hexo server
INFO Hexo is running at http://0.0.0.0:4000/. Press Ctrl+C to stop.