Bun Latest version is not getting installed in my Windows

Advertisements

I try to run

npm install -g bun

But it’s giving me this error in my terminal

Unsupported platform for bun@1.0.1: wanted {"os":"darwin,linux","arch":"arm64,x64"} (current: {"os":"win32","arch":"x64"})

Can anyone help me how can I install Bun on my Windows laptop? Thank you

A solution to install Bun

>Solution :

Bun does not support windows natively at the moment. You need to install WSL to work with bun in windows.

See also:

Leave a ReplyCancel reply