Skip to content

bun install -g throws error: no package specified to add #19417

Open
@Dimava

Description

@Dimava

What version of Bun is running?

1.2.11+cb6abd211

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

bun install -g

or

bun -g install

What is the expected behavior?

bun install v1.2.11 (cb6abd21)

Checked 547 installs across 569 packages (no changes) [69.00ms]

(same as bun install)

What do you see instead?

bun add v1.2.11 (cb6abd21)                                               
error: no package specified to add

Usage: bun add [flags] <package><@version>
Alias: bun a

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbun installSomething that relates to the npm-compatible client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions