Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatic install API #5414

Open
lukeed opened this issue Sep 14, 2023 · 1 comment
Open

Programmatic install API #5414

lukeed opened this issue Sep 14, 2023 · 1 comment
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request

Comments

@lukeed
Copy link

lukeed commented Sep 14, 2023

What is the problem this feature would solve?

Ability to run bun install within a compiled executable in host environments that dont have bun installed.

Also would be great for CI, task runners, and/or interactive bun create ... scaffolders that look to prepare/modify a repository without needing (or having the ability) to spawn a shell command.

What is the feature you are proposing to solve the problem?

A Bun.install function that accepts all the options as the CLI variant.

I imagine this is also a way to apply .npmrc-like modifications (#643, #4904) without relying on filesystem existence.

What alternatives have you considered?

No response

@lukeed lukeed added the enhancement New feature or request label Sep 14, 2023
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Sep 14, 2023
@PuruVJ
Copy link

PuruVJ commented Aug 23, 2024

+1 to this, would be great to have this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants