Skip to content
Star

grekt deprecate ​

Mark an artifact version as deprecated.

bash
grekt deprecate <artifact@version> [message]

Arguments ​

ArgumentDescription
artifact@versionFull artifact ID with version (e.g., @scope/name@1.0.0)
messageOptional deprecation message shown to users

Example ​

bash
grekt deprecate @myorg/tool@1.0.0 "Security vulnerability, upgrade to 1.0.1"

Use cases ​

  • Security vulnerabilities in old versions
  • Breaking changes in external dependencies
  • Recommending users upgrade to newer versions
  • Marking versions with known bugs

Registry only

This command only works with the official grekt registry.