← 返回命令列表

Linux command

bun-pm-hash 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Print the hash

bun pm hash

Print the string

bun pm hash-string

Print the hash stored

bun pm hash-print

说明

bun pm hash generates and displays a hash of the current lockfile (bun.lock). This is useful for cache invalidation, CI pipelines, and verifying whether dependencies have changed between runs. The related subcommands hash-string and hash-print provide additional insight: hash-string outputs the raw string that is fed into the hash function, while hash-print reads and displays the hash already stored inside the lockfile without recomputing it.

FAQ

What is the bun-pm-hash command used for?

bun pm hash generates and displays a hash of the current lockfile (bun.lock). This is useful for cache invalidation, CI pipelines, and verifying whether dependencies have changed between runs. The related subcommands hash-string and hash-print provide additional insight: hash-string outputs the raw string that is fed into the hash function, while hash-print reads and displays the hash already stored inside the lockfile without recomputing it.

How do I run a basic bun-pm-hash example?

Run `bun pm hash` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more bun-pm-hash examples?

This page includes 3 examples for bun-pm-hash, plus related commands for nearby Linux tasks.