Yes you can.
You can remove using the -g flag, this will ensure that only the global package is removed:
npm uninstall -g gulp
To remove a local package and remove it from the package.json dependency property, use:
npm uninstall package-name
To remove a local package and remove it from the package.json devDependencies property, use:
npm uninstall -D package-name
Update: As you may have noticed, running "gulp" in your terminal now results in the error "There is no such file or directory"
gulp . :
./node_modules/.bin/gulp [arguments...]
: npm 5.2.0 'npx'
, gulp :
npx gulp