npm install package@latest
Category: Node.js & npm/yarn
npm install package@latest
Install the newest published version of a package
Installs the most recently published version, even if it's a major upgrade. Useful for getting the absolute newest release.