installing the bun did not add alias for bunx or provide script in install output add it to bashrc
vairakkumaar-svs-hf opened this issue · 0 comments
vairakkumaar-svs-hf commented
What version of Bun is running?
0.5.9
What platform is your computer?
Linux 5.13.0-1022-azure x86_64 x86_64
What steps can reproduce the bug?
-
Installed:
curl -fsSL https://bun.sh/install | bash -
asked to source ~/.bashrc # had the bun in path added automatically.
-
after source run bunx
bunx create-react-app -
received error bunx not found
-
added to ~/.bashrc at the end
alias bunx="bun x"
- source ~/.bashrc
- date && bunx create-react-app testbunxapp && date # took 21 seconds instead of 15 seconds for npx create-react-app testnpxapp
What is the expected behavior?
bunx alias is automatically added to ~/.bashrc
and bunx create-react-app completes in less than 15 seconds
What do you see instead?
bunx alias is not added to ~/.bashrc
and the performance is slower than npx and completes in 21 seconds instead of npx at 15 seconds.
Additional information
No response