HomeSegun Adebayo

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

Segun Adebayo

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

All rights reserved © Segun Adebayo 2024