install gulp in npm code example Example 1: how to install gulp npm install gulp-cli -g Example 2: install gulp npm install gulp