-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавляет совет по установке bun на Windows (#5250)
Co-authored-by: Tatiana Fokina <[email protected]>
- Loading branch information
1 parent
070a192
commit 003f033
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Для установки `bun` на Windows необязательно использовать WSL. Официальная документация содержит [раздел с описанием установки на Windows 10](https://bun.sh/docs/installation#windows). | ||
|
||
Для установки требуется выполнить команду: | ||
|
||
```bash | ||
powershell -c "irm bun.sh/install.ps1|iex" | ||
``` | ||
|
||
☝️ После установки не забудьте перезапустить терминал. | ||
|
||
Для проверки успешности установки выполните команду: | ||
|
||
```bash | ||
bun --verison | ||
``` | ||
|
||
После успешной установки во всех приведённых в статье командах вместо `npx bun` используйте `bun`. Например: | ||
```bash | ||
bun index.ts | ||
``` |