HomeAmir Hossein Shekari (Vanenshi)

NPM - Set version to latest

How to set a published package version to latest

  • #npm
  • #bash
npm dist-tag add <package>@<version> <tag>

An example of this would be:

npm dist-tag add @chakra-ui/icons@2.0.17 latest

Tweet this snippet

Edit on github

Amir Hossein Shekari

Passionate UI engineer looking to bridge the gap between design and code

All rights reserved © Amir Hossein Shekari 2024