`bun --canary`
#17485
Replies: 1 comment
-
Btw you can use https://bun.sh/docs/project/contributing#download-release-build-from-pull-requests It's intended to be discouraged for actual normal use because you should be using latest Bun (and esp not a random commit). I only use this when trying to find which commit regressed, otherwise I try to keep latest canary locally (or stable if production normally). also see https://discord.com/channels/876711213126520882/876711213126520885/1305785469937913887 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's annoying to have to
bun upgrade --canary
and thenbun upgrade --stable
if there is a bug.It would be nice to be able to use a flag to control which
bun
version is used.Some ideas:
I use a personal script I wrote called
js
to control which bun runtime to use because there are still occasions I need to usenode
because of a bug.Example usage in shell script for cli app. You then use env vars to control which js runtime and which version to be used.
FYI: Bun download logic seems to be here if needed: https://github.com/oven-sh/setup-bun/blob/main/src/action.ts
Beta Was this translation helpful? Give feedback.
All reactions