Skip to main content

Home/ Tools for web developers/ Group items tagged grunt

Rss Feed Group items tagged

Vernon Fowler

Grunt for People Who Think Things Like Grunt are Weird and Hard ◆ 24 ways - 0 views

  • You install Grunt on a per-project basis. Go to your project’s folder. It needs a file there named package.json at the root level. You can just create one and put it there.
  • The contents of that file should be this: { "name": "example-project", "version": "0.1.0", "devDependencies": { "grunt": "~0.4.1" } }
  • Once that package.json file is in place, go to the terminal and navigate to your folder.
  • ...3 more annotations...
  • This is a one-liner again. Just run this command in the terminal: npm install -g grunt-cli
  • Then run the command: npm install
  • You should close and reopen the terminal as well. That’s a generic good practice to make sure things are working right.
1 - 4 of 4
Showing 20 items per page