Skip to content

Commit

Permalink
Update yarn installation instructions (#469)
Browse files Browse the repository at this point in the history
* Update yarn installation instructions

resolve #464

* Remove kind of weird yarn install rec from the official install docs that is not necessary and does not work
  • Loading branch information
ajdubovoy authored Sep 26, 2024
1 parent cbeb5b3 commit f1d2830
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5 deletions.
9 changes: 8 additions & 1 deletion _partials/cn/yarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
让我们一起来安装[`yarn`](https://classic.yarnpkg.com/en/docs/install):

```bash
npm install --global yarn
corepack enable
yarn set version stable
```

```bash
exec zsh
```

⚠️ 如果你看到任何错误信息,请尝试运行 `npm install -g corepack` 然后再次运行上面的命令。

重启终端并运行:

```bash
Expand Down
8 changes: 7 additions & 1 deletion _partials/es/yarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
En una terminal, ejecuta los siguientes comandos:

```bash
npm install --global yarn
corepack enable
yarn set version stable
```

```bash
exec zsh
```

⚠️ Si ves algún mensaje de error, intenta ejecutar `npm install -g corepack` y luego vuelve a ejecutar los comandos anteriores.

Luego ejecuta este comando:

```bash
Expand Down
8 changes: 7 additions & 1 deletion _partials/fr/yarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
Exécute les commandes suivantes dans le terminal :

```bash
npm install --global yarn
corepack enable
yarn set version stable
```

```bash
exec zsh
```

⚠️ Si tu rencontres des messages d'erreur, essaye d'exécuter `npm install -g corepack` puis exécute à nouveau les commandes ci-dessus.

Puis exécute la commande suivante :

```bash
Expand Down
5 changes: 4 additions & 1 deletion _partials/pt/yarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
Em um terminal, execute os seguintes comandos:

```bash
npm install --global yarn
corepack enable
yarn set version stable
```

```bash
exec zsh
```

⚠️ Se vires quaisquer mensagens de erro, tenta executar `npm install -g corepack` e, em seguida, volta a executar os comandos acima.

Em seguida, execute o seguinte comando:

```bash
Expand Down
5 changes: 4 additions & 1 deletion _partials/yarn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
In a terminal, run the following commands:

```bash
npm install --global yarn
corepack enable
yarn set version stable
```

⚠️ If you see any error messages, try running `npm install -g corepack` and then run the commands above again.

```bash
exec zsh
```
Expand Down

0 comments on commit f1d2830

Please sign in to comment.