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

Windows 11 Support #709

Closed
batara666 opened this issue Jul 14, 2022 · 38 comments
Closed

Windows 11 Support #709

batara666 opened this issue Jul 14, 2022 · 38 comments
Labels
enhancement New feature or request

Comments

@batara666
Copy link

What is the problem this feature will solve?

This feature will solve my problem getting bun run on Windows 11

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

Windows 11 Support

What alternatives have you considered?

NodeJS

@batara666 batara666 added the enhancement New feature or request label Jul 14, 2022
@Kapsonfire-DE
Copy link
Contributor

You can run bun on WSL2 in Windows 11

@batara666
Copy link
Author

WSL2 is not Windows 11, WSL2 is Linux, I will never touch Linux again on my entire life

@Kapsonfire-DE
Copy link
Contributor

WSL2 is a emulated linux subsystem on Windows... you dont need to touch linux - just install bun once and run the bun cli

@batara666
Copy link
Author

No, I can't do bash, only CMD and PowerShell

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 14, 2022

No, I can't do bash, only CMD and PowerShell

Basic unix and cmd commands are similar. You don't have to do anything with Linux if you have WSL, because windows 11 also offers explorer and visual studio code works nicely with WSL.

image
image

Also, this is a duplicate of #43

@batara666
Copy link
Author

Why everyone forcing me to use linux

@jlandrum
Copy link

If you wish to run bun on Windows, you can help by contributing code to allow bun to compile on Windows.

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 14, 2022

Why everyone forcing me to use linux

Because bun doesn't have windows version now

@umararshad4
Copy link

window is widely used os and i think contributors should also focus on this issue.

@batara666
Copy link
Author

agreed @ohsnap4 That what's the dev should think

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 15, 2022

Just be patient. You can check #361

@l3lackMegas
Copy link

l3lackMegas commented Jul 15, 2022

Hi, i'm working on it to make bun support Windows.
Here is my forked: https://github.com/l3lackMegas/bun#readme

@LowByteFox
Copy link
Contributor

LowByteFox commented Jul 15, 2022

If you want Bun on windows without using WSL2, you can try a similar approach as Ruby has

  1. Download msys2 ( a collection of tools and libraries providing you with an easy-to-use environment for building, installing, and running native Windows software )
  2. Download bun through msys2 shell
  3. Use bun from msys2 shell or create a wrapper that will launch bun from msys2 shell without actually changing the shell
  • I haven't used msys2 for a long time

And I don't know if it will work, you also can try compiling bun in with it

The best approach is just to use WSL2

@junderw
Copy link

junderw commented Jul 16, 2022

Why everyone forcing me to use linux

No one is forcing you to do anything.

Here are some valid options you have at your disposal right now that do not involve WSL2 or Linux in any way.

  1. Walk away from the project and check back in occasionally to see if Windows is supported. Then use it.
  2. Contribute code that will allow for bun to be compiled on Windows. Then use it.

@junderw
Copy link

junderw commented Jul 17, 2022

Narcissist is stretching it a bit.

This is an issue with a feature request on an open source repo, so asking for something for free is expected.

Snapping back at people suggesting alternatives because you don't like them is, however, extremely rude.

@umararshad4
Copy link

Hi, i'm working on it to make bun support Windows. Here is my forked: https://github.com/l3lackMegas/bun#readme

bro how's your progress right now on this issue

@junderw
Copy link

junderw commented Jul 17, 2022

bro how's your progress right now on this issue

If you had clicked on the link and read the README... you would understand it was a joke.

Screenshot_2022-07-17_14-12-43

@junderw
Copy link

junderw commented Jul 17, 2022

Also,

No, I can't do bash, only CMD and PowerShell

In PowerShell, all you need to do is wsl [bun cli command] and it will run the bun command in PowerShell.

See here for more examples of using wsl in PowerShell

@eniolajayi
Copy link

Is there any plan in the nearest future for Windows support without installing wsl? @junderw

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 17, 2022

Is there any plan in the nearest future for Windows support without installing wsl? @junderw

There is plan, just be patient. Windows support is not highest priority now.

@batara666
Copy link
Author

fr dude? @xhyrom , If you want bun adopted by many people, Windows should be on the same-level support like other OS'es

Windows is the most widely used OS for developer

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 17, 2022

fr dude? @xhyrom , If you want bun adopted by many people, Windows should be on the same-level support like other OS'es

Windows is the most widely used OS for developer

You are right, but now high priority is #67

After searching in discord: Windows support is high priority too but it can take longer

@LowByteFox
Copy link
Contributor

LowByteFox commented Jul 17, 2022

Windows is the most widely used OS for developer

Maybe, but it doesn't have as many tools as Linux has, yet it's easier to get stuff done on Linux than windows itself, why do you think devs choose UNIX-like operating systems over windows? Just because windows has more users doesn't mean it's better

as @xhyrom said, be patient

@junderw
Copy link

junderw commented Jul 17, 2022

fr dude? @xhyrom , If you want bun adopted by many people, Windows should be on the same-level support like other OS'es

Windows is the most widely used OS for developer

@batara666 Your attitude is unacceptable. Please calm yourself. bun is still in early alpha stages and CAN NOT BE USED FOR DEV WORK. The only use for it (if you don't plan on contributing) right now is to try it out and/or make Youtube videos about how it's "the future" etc. for views.

bun doesn't even verify SSL/TLS certificates right now. So if you download something from https://google.com literally anyone can intercept your connection and feed you a virus and you wouldn't know.

By the time bun is available for devs to work on projects using bun, Windows will be supported. I guarantee it.

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 17, 2022

fr dude? @xhyrom , If you want bun adopted by many people, Windows should be on the same-level support like other OS'es

Windows is the most widely used OS for developer

@batara666 Your attitude is unacceptable. Please calm yourself. bun is still in early alpha stages and CAN NOT BE USED FOR DEV WORK. The only use for it (if you don't plan on contributing) right now is to try it out and/or make Youtube videos about how it's "the future" etc. for views.

bun doesn't even verify SSL/TLS certificates right now. So if you download something from https://google.com literally anyone can intercept your connection and feed you a virus and you wouldn't know.

By the time bun is available for devs to work on projects using bun, Windows will be supported. I guarantee it.

You can use bun in projects but it's beta so must be patient.

@batara666
Copy link
Author

sorry if it was unacceptable for you @junderw , I just don't like someone underestimate Windows 11 on software development

so yeah, I will stick with Deno and keep this issue on watch

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 17, 2022

sorry if it was unacceptable for you @junderw , I just don't like someone underestimate Windows 11 on software development

so yeah, I will stick with Deno and keep this issue on watch

WSL is good but ok, your opinion

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 17, 2022

image
from discord ^

@eniolajayi
Copy link

Thanks 🙌 @xhyrom . I will install WSL to try Bun. Is there any way I can be of help to the project?

@thm76
Copy link

thm76 commented Jul 25, 2022

You can run bun on WSL2 in Windows 11

At work, I'm unable to install WSL, so without native Windows support I won't be able to use bun

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 28, 2022

Duplicate of #43

@xhyrom xhyrom marked this as a duplicate of #43 Jul 28, 2022
@xhyrom xhyrom closed this as completed Jul 28, 2022
@xhyrom xhyrom closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2022
@batara666
Copy link
Author

what, not planned?

@xhyrom
Copy link
Collaborator

xhyrom commented Aug 4, 2022

what, not planned?

It's closed as not planned because this is duplicate. It's planned

I closed all duplicate issues as not planned

@felipetesc
Copy link

If you want Bun on windows without using WSL2, you can try a similar approach as Ruby has

  1. Download msys2 ( a collection of tools and libraries providing you with an easy-to-use environment for building, installing, and running native Windows software )
  2. Download bun through msys2 shell
  3. Use bun from msys2 shell or create a wrapper that will launch bun from msys2 shell without actually changing the shell
  • I haven't used msys2 for a long time

And I don't know if it will work, you also can try compiling bun in with it

The best approach is just to use WSL2

image

@LowByteFox
Copy link
Contributor

That's also why i said "i don't know if it will work"

@LowByteFox
Copy link
Contributor

Also, there is experimental windows version

@Lucienest
Copy link

Bun is supposed to be a cross-platform runtime like NodeJS
but Windows is getting less priority
Windows is widely being used by the developers,
You shouldn't push them to Linux or WSL

@xhyrom
Copy link
Collaborator

xhyrom commented Sep 11, 2023

Bun is supposed to be a cross-platform runtime like NodeJS but Windows is getting less priority Windows is widely being used by the developers, You shouldn't push them to Linux or WSL

There is an other issue that tracks windows support. Jarred is working hard every day to make Windows working. It's not easy, because you need to implement lot of APIs due to how windows works. You're telling nonsense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests