devDependencies flag npm code example Example: npm install and add to dependancies npm i packageName -save