Getting started

Installation

Create a standalone Shiso documentation site with create-shiso-app.

Use create-shiso-app to start a new Shiso site. The generator creates a standalone project instead of cloning the Shiso source repository.

Create a project#

Choose the command for your package manager:

Replace my-docs with your project directory. The directory must be empty if it already exists.

The generator:

  • Copies a minimal Shiso starter site
  • Sets the package name from the project directory
  • Installs dependencies with the package manager that invoked it
  • Initializes a fresh Git repository on the main branch
  • 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:

Open 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.

CLI options#

Run create-shiso-app --help to see every option.

OptionDescription
--use-pnpmInstall dependencies with pnpm.
--use-npmInstall dependencies with npm.
--use-yarnInstall dependencies with Yarn.
--use-bunInstall dependencies with Bun.
--skip-installCreate the project without installing dependencies.
--disable-gitCreate the project without initializing Git.
--helpPrint command usage and options.

Next step#

Continue to Configuration to customize docs.json, or Writing content to add pages and components.

Last updated on