Files
cheatsheet-tldr/tldr/bun-pm-hash
2026-02-17 00:28:22 +00:00

22 lines
435 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# bun pm hash
> Generate and inspect the hash of the current lockfile.
> More information: <https://bun.com/docs/pm/cli/pm#hash>.
- Generate and print the hash of the current lockfile:
`bun pm hash`
- Print the string used to hash the lockfile:
`bun pm hash-string`
- Print the hash stored in the current lockfile:
`bun pm hash-print`