+ hexo-cli@4.3.0 added 59 packages from 51 contributors in 27.28s
╭────────────────────────────────────────────────────────────────╮ │ │ │ New major version of npm available! 6.14.10 → 8.19.2 │ │ Changelog: https://github.com/npm/cli/releases/tag/v8.19.2 │ │ Run npm install -g npm to update! │ │ │ ╰────────────────────────────────────────────────────────────────╯
$ hexo INFO Validating config Usage: hexo <command>
Commands: clean Remove generated files and cache. config Get or set configurations. deploy Deploy your website. generate Generate static files. help Get help on a command. init Create a new Hexo folder. list List the information of the site migrate Migrate your site from other system to Hexo. new Create a new post. publish Moves a draft post from _drafts to _posts folder. render Render files with renderer plugins. server Start the server. version Display version information.
Global Options: --config Specify config file instead of using _config.yml --cwd Specify the CWD --debug Display all verbose messages in the terminal --draft Display draft posts --safe Disable all plugins and scripts --silent Hide output on console
For more help, you can use 'hexo help [command]' for the detailed information or you can check the docs: http://hexo.io/docs/
$ hexo --help Usage: hexo <command>
Commands: help Get help on a command. init Create a new Hexo folder. version Display version information.
Global Options: --config Specify config file instead of using _config.yml --cwd Specify the CWD --debug Display all verbose messages in the terminal --draft Display draft posts --safe Disable all plugins and scripts --silent Hide output on console
For more help, you can use 'hexo help [command]' for the detailed information or you can check the docs: http://hexo.io/docs/
或者这样查看帮助 $ hexo help Usage: hexo <command>
Commands: help Get help on a command. init Create a new Hexo folder. version Display version information.
Global Options: --config Specify config file instead of using _config.yml --cwd Specify the CWD --debug Display all verbose messages in the terminal --draft Display draft posts --safe Disable all plugins and scripts --silent Hide output on console
For more help, you can use 'hexo help [command]' for the detailed information or you can check the docs: http://hexo.io/docs/
$ hexo init hexo-blog # 命令后面 跟一个 名称,这个目录不存在就会在第一次新建出来的 INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git # 这里就说明 为啥需要 安装 git了。 INFO Install dependencies warning hexo-renderer-stylus > stylus > css > source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated warning Your current version of Yarn is out of date. The latest version is "1.22.19", while you're on "1.22.10". INFO Start blogging with Hexo!
$ npm i npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 17 packages from 8 contributors, removed 13 packages, updated 225 packages and audited 243 packages in 29.962s
22 packages are looking for funding run `npm fund` for details