how to leave npm start code example Example 1: npm stop react app taskkill -F -IM node.exe Example 2: stop npm server npm run react-scripts start