Well, if you command npm install payload, then u will get the latest version of it and it is automatically added to the dependencies in your package.json file...