English 中文(简体)
如何在没有Windows Subsystem的情况下将Bun安装在Windows上?
原标题:How to install Bun on Windows without Windows Subsystem for Linux?
  • 时间:2022-07-07 03:20:31
  •  标签:
  • windows
  • bun

我今天刚刚听说过布恩,我很想学习它。

因此,我首先要做的是安装它,以便尝试。

然而,我无法找到在我的当地机器上安装这种设备的办法。

我正在使用Windows 11。

这是我在

Install Native: (macOS x64 & Silicon, Linux x64, Windows Subsystem for Linux)

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

Docker: (HCH64)

cker jar

docker run --rm --init --ulimit memlock=-1:-1 jarredsumner/bun:edge

If using Linux, kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1.

我已经尝试了。

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

......

Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Microsoft Store: https://aka.ms/wslstore curl: (23) Failure writing output to destination

因此,没有Windows Subsystem就安装在Windows上的Bun?

最佳回答
问题回答

Update: bun is now available on windows!

来源:https://bun.sh/docs/installation#windows

Bun要求至少使用Windows 10版本 1809

安装,将安装成一个终点站:PowerShell/cmd:

powershell -c "irm bun.sh/install.ps1|iex"
# or
npm install -g bun
# or
scoop install bun

Set-ExecutionPolicy Reg-Scope Process - Force; iwr bun.sh/install.ps1

Exicute this command for this error in windows

U可使用CodeSpace,从光布和安装。 其正常工作。

如今,这部法律是官方的。

powershell -c "irm bun.sh/install.ps1 | iex"

https://bun.sh/blog/bun-v1.1”rel=“nofollow noreferer”>https://bun.sh/blog/bun-v1.1





相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签