chore(docs): update yarn installation command (#4132)

There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. 

Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
This commit is contained in:
Azpekt 2024-11-22 13:45:52 +01:00 committed by GitHub
parent 34bb098be8
commit e3aa9cdef9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ Execute one of the following commands in your terminal:
<PackageManagers
commands={{
npm: "npm install -g nextui-cli",
yarn: "yarn add -g nextui-cli",
yarn: "yarn global add nextui-cli",
pnpm: "pnpm add -g nextui-cli",
bun: "bun add -g nextui-cli",
}}