Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cli

> 前端框架
Open source

Nuxt CLI

38.5K stars0 likes3 views
WebsiteGitHub

About

Nuxt CLI

Nuxt CLI (nuxi)

⚡️ Nuxt CLI

Usage

…

Documentation

All commands are documented on https://nuxt.com/docs/api/commands

Adding modules and layers

nuxt add <name> installs the package and writes it to nuxt.config. Where it is written depends on what the package is:

bash
# added to `modules`
nuxt add nuxt-shiki

# a layer, added to `extends`
nuxt add nuxt-seo-kit

Update Notifications

Once a day, nuxt/cli checks in the background whether a newer version of Nuxt has been released and, if so, prints a short nudge to run nuxt upgrade after the command finishes. The latest dist-tag is read from the registry configured in your .npmrc and cached in your user-level .nuxtrc.

To keep the nudge meaningful, it is not shown for prereleases, and not shown for patch releases within the same minor unless you are at least five patches behind.

The check is skipped in CI, on StackBlitz, and when the output is not a terminal. Set NUXT_IGNORE_UPDATE_CHECK=1 (or NO_UPDATE_NOTIFIER=1) to skip a single run, or opt out permanently by adding updateCheck.enabled=false to your user-level .nuxtrc.

Shell Autocompletions

nuxt/cli provides shell autocompletions for commands, options, and option values – powered by @bomb.sh/tab.

Package Manager Integration

@bomb.sh/tab integrates with package managers. Autocompletions work when running nuxt directly within a Nuxt project:

bash
pnpm nuxt <Tab>
npm exec nuxt <Tab>
yarn nuxt <Tab>
bun nuxt <Tab>

For package manager autocompletions, you should install tab's package manager completions separately.

Contributing

bash
# Install dependencies
pnpm i

# Build project and start watcher
pnpm dev

# Go to the playground directory
cd playground

# And run any commands
pnpm nuxt <command>

License

MIT

Issues· 17 open

View all issuesOpen on GitHub
  • #16

    Dependency Dashboard

    Updated Sep 30, 2026
  • #1566

    Add port check and actions to `preview` and `start`

    Updated Sep 26, 2026
  • #1521

    Feature Request: Install Agent Skills with a Nuxt Module

    Updated Sep 26, 2026
  • #1531

    alpha version: quit command hangs/timeouts on Windows 10 PRO

    Updated Sep 10, 2026
  • #1524

    `nuxi dev --inspect` incorrect behavior (impossible to inspect nitro-runtime, server functions, middlewares and so on)

    nitroUpdated Sep 6, 2026
  • #330

    `nuxt doctor`

    enhancementdiscussionUpdated Aug 22, 2026
  • #540

    Generated README mention all packageManagers instead of the one selected in the CLI prompt

    Updated Jul 25, 2026
  • #1223

    Support pause HMR

    Updated Jul 25, 2026
  • #1166

    Nuxt Installation Template Selection Feels Blind

    discussionUpdated Jul 25, 2026
  • #1136

    Feature request: Ability to overload and customise the templates

    enhancementgood first issueUpdated Jul 25, 2026

> Tags

TypeScriptclinuxt

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架