Writes or replaces the scripts.start field in package.json without opening an editor, then npm start runs the new script. npm pkg set accepts any dotted key, so it can also set version, private, or engines. Quote values that contain spaces.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.