---
title: "Install Nuxt Schema.org"
description: "Get started with Nuxt Schema.org by installing the dependency to your project."
canonical_url: "https://nuxtseo.com/docs/schema-org/getting-started/installation"
---

> Index of every page on this site: [llms.txt](https://nuxtseo.com/llms.txt)

## Setup Module

::module-install{name="schema-org" included-in="@nuxtjs/seo"}
::

Use Nuxt 4.6+ or Nuxt 5.
Use Node 22.22.3+, 24.15.0+, or 26+.
If you use Nuxt Content, use version 3.

Import app functions from `#schema-org/app`. Import server functions from `#schema-org/server`.

::tip
Using an AI agent? Get the nuxt-schema-org Skill on [skilld.dev/gh/harlan-zw/nuxt-schema-org](https://skilld.dev/gh/harlan-zw/nuxt-schema-org).
::

::warning{title="SSR Required"}
This module requires SSR for automatic schema generation. For SPA/CSR apps, manually add schema:

```ts
useHead({
  script: [{
    type: 'application/ld+json',
    innerHTML: JSON.stringify(yourSchema)
  }]
})
```
::

## Verifying Installation

After you've set up the module, you should be able to visit your home page and inspect the [Schema.org](http://Schema.org). You'll find the
`<script type="application/ld+json">`{lang="html"} tag with the default [Schema.org](http://Schema.org) nodes in the `<head>`{lang="html"}.

This is generated by the [defaults Schema.org](https://nuxtseo.com/docs/schema-org/guides/default-schema-org) and you can modify the output
if it's not what you need.

You can debug this further in Nuxt DevTools under the [Schema.org](http://Schema.org) tab.

If you use the [Schema.org](http://Schema.org) DevTools panel, install the optional host module:

```bash
pnpm add -D nuxtseo-devtools-host@^1
```

Restart your development server after installation. The module loads the host automatically.
You do not need to add it to `modules`.

## Next Steps

It's recommended to use this module with Nuxt Robots so that the non-indexable paths are automatically excluded from adding
[Schema.org](http://Schema.org).

::module-card{slug="robots" .w-1/2}
::

Other suggestions:

- [Setup Your Identity](https://nuxtseo.com/docs/schema-org/guides/setup-identity)

## Sitemap

See the full [sitemap](https://nuxtseo.com/sitemap.md) for all pages.
