Grunt-cli and Grunt - Same app, two versions?

前端 未结 3 2075
夕颜
夕颜 2021-02-05 05:39

Achtung!

The accepted answer answered my question at the time, but is now outdated. Back then grunt-cli used grunt, but with another branch. The not-accepted answers

3条回答
  •  孤城傲影
    2021-02-05 06:02

    From: http://gruntjs.com/getting-started

    Install grunt-cli just will put the grunt command in your system path, allowing it to be run from any directory.

    Even more:

    ...Installing grunt-cli does not install the Grunt task runner! The job of the Grunt CLI is simple: run the version of Grunt which has been installed next to a Gruntfile. This allows multiple versions of Grunt to be installed on the same machine simultaneously.

提交回复
热议问题