Installation
Create a project#
pnpm create shiso-app@latest my-docsReplace my-docs with your project directory. The directory must be empty if it already exists. The generator:
- Copies a minimal Shiso starter site
- Installs Shiso as a regular project dependency
- Sets the package name from the project directory
- Installs dependencies with the package manager that invoked it
- Initializes a fresh Git repository on the
mainbranch - Adds no Git remote, so the project is not tied to the Shiso repository
Start the site#
Move into the generated project and start the development server:
cd my-docs
pnpm devOpen the local URL shown in your terminal. Edit content/docs/index.mdx to change the first page and docs.json to configure the site and navigation.
Upgrade Shiso#
The generator is only used to create the project. Upgrade the framework later through your package manager:
pnpm update @umami/shisoYour content, docs.json, styles.css, and files under public remain in your project; rendering and build internals update with the dependency.
CLI options#
Run create-shiso-app --help to see every option.
| Option | Description |
|---|---|
--use-pnpm |
Install dependencies with pnpm. |
--use-npm |
Install dependencies with npm. |
--use-yarn |
Install dependencies with Yarn. |
--use-bun |
Install dependencies with Bun. |
--skip-install |
Create the project without installing dependencies. |
--disable-git |
Create the project without initializing Git. |
--help |
Print command usage and options. |
Next step#
Continue to Configuration to customize docs.json, or Writing content to add pages and components.
Back to Introduction.