first create the npm account second create a npm project(npm init) third add the required () 4th npm login 5th npm publish --access=public access should be public and package name should be unique 6th testing the work(npm init npm install your package name(dipen-react-boilerplate))