docs: update README with scoped registry configuration
Separate the registry setup step from the CLI usage command, making it clearer that the `@zen` registry only needs to be configured once via `npm config set` before running `npx @zen/start`.
This commit is contained in:
@@ -7,7 +7,15 @@ CLI pour créer un projet Next.js avec le CMS @zen/core
|
||||
|
||||
## Utilisation
|
||||
|
||||
Configurer le registre pour le scope `@zen` (une seule fois) :
|
||||
|
||||
```bash
|
||||
npx --registry https://git.hyko.cx/api/packages/zen/npm/ @zen/start
|
||||
npm config set @zen:registry https://git.hyko.cx/api/packages/zen/npm/
|
||||
```
|
||||
|
||||
Puis lancer le CLI :
|
||||
|
||||
```bash
|
||||
npx @zen/start
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user