oven-sh/bun

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

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?

  1. Installed:
    curl -fsSL https://bun.sh/install | bash

  2. asked to source ~/.bashrc # had the bun in path added automatically.

  3. after source run bunx
    bunx create-react-app

  4. received error bunx not found

  5. added to ~/.bashrc at the end

alias bunx="bun x"
  1. source ~/.bashrc
  2. 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