Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bower, Grunt & zsh: command not found:

Tags:

I have installed Grunt & Bower & I'm using ZSH.

when I type bower --help or grunt anything I get zsh: command not found: bower or zsh: command not found: grunt how can I fix this?

like image 996
ahmedelgabri Avatar asked Sep 23 '12 18:09

ahmedelgabri


People also ask

What is grunt and Bower?

Bower belongs to "Front End Package Manager" category of the tech stack, while Grunt can be primarily classified under "JS Build Tools / JS Task Runners".

What is Bower used for?

Bower provides hooks to facilitate using packages in your tools and workflows. Bower is optimized for the front-end. If multiple packages depend on a package - jQuery for example - Bower will download jQuery just once. This is known as a flat dependency graph and it helps reduce page load.

Why Bower and npm?

Bower is a package manager, like npm, which manages frameworks, libraries, assets, and utilities, installs them, and makes sure they are up to date. Traditionally, many web development projects combined npm and Bower. npm was used to manage back-end dependencies, while Bower was used for front-end dependencies.

What is Bower component?

Bower is a package manager for client-side libraries and components that contain HTML, CSS, JavaScript, fonts, image files, and so on. You can install, locate, upgrade, and remove Bower packages without leaving WebStorm, on the dedicated Bower page or from the command line in the built-in terminal.


1 Answers

Add /usr/local/share/npm/bin/ to your $PATH environment

like image 91
Sam Figueroa Avatar answered Sep 21 '22 09:09

Sam Figueroa