# Fumadocs CLI (the CLI tool for automating Fumadocs apps): Preview
URL: /docs/cli/preview
Source: https://raw.githubusercontent.com/fuma-nama/fumadocs/refs/heads/main/apps/docs/content/docs/cli/preview.mdx

A light tool to view Markdown files.

## Introduction [#introduction]

`fumadocs-preview` allows you to view Markdown files with Fumadocs, it is useful for reading skills files & notes.

Run the command under your project directory.

```npm
npx fumadocs-preview dir/to/content
```

### Configurations [#configurations]

For other configurations, you can install it locally:

```npm
npm install fumadocs-preview -D
```

Then init the config file:

```npm
npx fumadocs-preview init
```