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