---
title: "Install Nuxt Robots · Nuxt Robots · Nuxt SEO"
canonical_url: "https://nuxtseo.com/docs/robots/getting-started/installation"
last_updated: "2026-08-14T16:53:39.314Z"
meta:
  description: "Get started with Nuxt Robots by installing the dependency to your project."
  "og:description": "Get started with Nuxt Robots by installing the dependency to your project."
  "og:title": "Install Nuxt Robots · Nuxt Robots · Nuxt SEO"
---

Nuxt SEO on GitHub

Switch to RobotsSwitch to Nuxt SEOSwitch to SitemapSwitch to OG ImageSwitch to Schema.orgSwitch to Link CheckerSwitch to SEO UtilsSwitch to Site ConfigSwitch to Skew ProtectionSwitch to AI Ready

**Getting Started**

# **Install Nuxt Robots**

## Setup Module

Want to know why you need this module? Check out the [**~~introduction~~**](https://nuxtseo.com/docs/robots/getting-started/introduction).

To get started with Nuxt Robots, you need to install the dependency and add it to your Nuxt config.

`npx nuxt module add robots`

## Verifying Installation

To ensure the module is behaving as expected, you should first check [`**/robots.txt**`](http://localhost:3000/robots.txt) is being generated.

It should show that the site is disallowed from indexing. This is good, as development environments should not be indexed by search engines.

However, we want to see what a production environment would look like.

For this, it's recommended to use the Nuxt DevTools Robots tab to see the current configuration and how it's being applied.

The DevTools will show you that in production we're just serving a minimal robots.txt file.

robots.txt

```robots-txt
User-agent: *
Disallow:
```

This allows all search engines to index the site.

## Configuration

Every site is different and will require its own unique configuration, to give you a head start you may consider the following areas to configure.

- [**~~Disabling Site Indexing~~**](https://nuxtseo.com/docs/robots/guides/disable-indexing) - If you have non-production environments you should disable indexing for these environments, while this works out-of-the-box for most providers, it's good to verify this is working as expected.
- [**~~Disable Page Indexing~~**](https://nuxtseo.com/docs/robots/guides/disable-page-indexing) - You should consider excluding pages that are not useful to search engines, for example any routes which require authentication should be ignored.

Make sure you understand the differences between robots.txt vs robots meta tag with the [**~~Controlling Web Crawlers~~**](https://nuxtseo.com/learn-seo/nuxt/controlling-crawlers) guide.

[Controlling Web Crawlers 10 min read Being able to tell crawlers what to do can help with your SEO strategy, learn how to do it in Vue and Nuxt.](https://nuxtseo.com/learn-seo/nuxt/controlling-crawlers)

## Next Steps

You've successfully installed Nuxt Robots. Here's the recommended reading path:

1. **[**~~Disabling Site Indexing~~**](https://nuxtseo.com/docs/robots/guides/disable-indexing)** - If you have non-production environments you should disable indexing for these environments.
2. **[**~~Disable Page Indexing~~**](https://nuxtseo.com/docs/robots/guides/disable-page-indexing)** - Consider excluding pages that are not useful to search engines, for example any routes which require authentication.
3. **[**~~Robots.txt Recipes~~**](https://nuxtseo.com/docs/robots/guides/robot-recipes)** - Common patterns for blocking bad bots, AI crawlers, and search results.

**Using other Nuxt modules?**

- [**~~Nuxt I18n~~**](https://nuxtseo.com/docs/robots/advanced/i18n) - Disallows are automatically expanded to your configured locales.
- [**~~Nuxt Content~~**](https://nuxtseo.com/docs/robots/advanced/content) - Configure robots from your markdown files.

**Was this page helpful?**

### **Related **

[**Disabling Site Indexing**](https://nuxtseo.com/docs/robots/guides/disable-indexing)

[**Robots.txt Recipes**](https://nuxtseo.com/docs/robots/guides/robot-recipes)

[**Nuxt Sitemap**](https://nuxtseo.com/docs/sitemap/getting-started/installation)

[**Introduction** Nuxt Robots manages the robots crawling your site with minimal config and best practice defaults.](https://nuxtseo.com/docs/robots/getting-started/introduction) [**Troubleshooting** Debug Nuxt Robots issues using DevTools, config options, and minimal reproductions.](https://nuxtseo.com/docs/robots/getting-started/troubleshooting)