> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://plantstore.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://plantstore.dev/_mcp/server.

# Edit your docs

Fern provides two ways to edit your documentation: the command-line interface (CLI) for developers, and Fern Editor for team members who prefer a visual interface.

#### Using the CLI

The Fern CLI lets you preview changes locally and publish updates from your terminal.

#### Install the CLI

```bash
npm install -g fern-api
```

#### Preview locally

Start a local development server with hot-reloading:

```bash
fern docs dev
```

This serves your documentation at [http://localhost:3000](http://localhost:3000).

#### Generate a preview link

Create a shareable preview URL for your team to review changes before publishing:

```bash
fern generate --docs --preview
```

#### Publish to production

When you're ready for your docs to be publicly accessible:

```bash
fern generate --docs
```

This builds and publishes your documentation to the URL configured in `docs.yml`.

For detailed CLI documentation, see the [Fern CLI reference](https://buildwithfern.com/learn/cli-api-reference/cli-reference/overview).

#### Using Fern Editor

Fern Editor is a visual editor that lets anyone on your team update documentation without learning Markdown or Git. It's ideal for content writers, product managers, and other non-technical contributors.

**Key features**

Fern Editor provides rich text editing similar to Notion or Google Docs, support for Fern components like Callouts and Cards, and a GitHub-backed workflow that creates pull requests for review.

**Get started**

1. Log in to the [Fern Dashboard](https://dashboard.buildwithfern.com/)
2. Connect your GitHub repository
3. Open Fern Editor from the top navigation

Changes made in Fern Editor create pull requests automatically, maintaining your docs-as-code workflow with full Git history and review process.

For more details on Fern Editor features and supported components, see the [Fern Editor documentation](https://buildwithfern.com/learn/docs/writing-content/fern-editor).

## Next steps

#### [Write content](/writing-content)

Create pages using MDX and components

#### [Set up navigation](/navigation)

Configure tabs, sections, and pages

#### [Customize your docs](/customization)

Brand your documentation