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

Should update boilerplate docs for newer node.js / yarn #183

Open
MaikoTan opened this issue Aug 23, 2024 · 0 comments
Open

Should update boilerplate docs for newer node.js / yarn #183

MaikoTan opened this issue Aug 23, 2024 · 0 comments

Comments

@MaikoTan
Copy link
Member

  • Now there are no "two giant buttons" in Node.js official site, should change the phrase.

    現在 Node.js 官方網站已無「兩個巨大的按鈕」,應該修正表述

首先我们前往 [Node.js](https://nodejs.org/) 的官方网站:
![home](/manual/nodejs/home-dark.webp) {.dark-only}
![home](/manual/nodejs/home-light.webp) {.light-only}
在这里可以看到两个巨大的按钮,分别对应着 **LTS (长期维护版)****Current (最新版本)**。我们建议你选择更加稳定的 LTS 版本,点击按钮即可下载安装包。

  • Node.js now seems to be shipped with yarn (should confirm!) and corepack, also generally we recommend using Yarn Berry

    Node.js 目前似乎會連同 yarn (需確認) 和 corepack,并且我們現在推薦使用 Yarn Berry

Node.js 自带名为 [npm](https://www.npmjs.com/) 的包管理器,你可以直接使用它。我们同时也推荐功能更强大的 [yarn](https://classic.yarnpkg.com/) 作为包管理器。它的安装非常简单,只需打开命令行输入下面的命令:
```sh
# 安装 yarn
npm i -g yarn
# 查看版本
yarn -v
```

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

No branches or pull requests

1 participant