LinuxCommandLibrary

bun-pm-pkg

Read and modify package.json fields

TLDR

Get a package.json field

$ bun pm pkg get [field]
copy
Set a package.json field
$ bun pm pkg set [field]=[value]
copy
Delete a package.json field
$ bun pm pkg delete [field]
copy

SYNOPSIS

bun pm pkg subcommand [args]

DESCRIPTION

bun pm pkg provides commands to read and modify package.json fields programmatically. This is useful for scripting and automation.

SUBCOMMANDS

get field

Get the value of a package.json field.
set field=value
Set a package.json field.
delete field
Delete a package.json field.

SEE ALSO

bun(1), bun-pm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community