Skip to content

feat(cli): add utility to ensure bun's global bin directory is on PATH - #19

Merged
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/cli-path
Aug 4, 2026
Merged

feat(cli): add utility to ensure bun's global bin directory is on PATH#19
maksymhryzodub-prog merged 1 commit into
mainfrom
fix/cli-path

Conversation

@maksymhryzodub-prog

Copy link
Copy Markdown
Contributor

Introduced a new utility function ensureGlobalBinOnPath in pathSetup.ts to automatically append bun's global bin directory to the user's shell startup file if it's not already present. This ensures that globally installed packages via bun are accessible in new terminal sessions. The function is called in runMain to perform this check on the first successful run of the CLI.

Introduced a new utility function `ensureGlobalBinOnPath` in `pathSetup.ts` to automatically append bun's global bin directory to the user's shell startup file if it's not already present. This ensures that globally installed packages via bun are accessible in new terminal sessions. The function is called in `runMain` to perform this check on the first successful run of the CLI.
@maksymhryzodub-prog
maksymhryzodub-prog merged commit e929f3e into main Aug 4, 2026
1 check passed
@maksymhryzodub-prog
maksymhryzodub-prog deleted the fix/cli-path branch August 4, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant