百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cli

> 前端框架
开源

纳克特CLI

38.5K stars0 点赞3 次浏览
访问官网GitHub

工具介绍

纳克特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 开放

查看全部 Issues在 GitHub 打开
  • #16

    依赖关系仪表板

    更新于 2026年9月30日
  • #1566

    为 `preview` 和 `start` 添加端口检查和操作

    更新于 2026年9月26日
  • #1521

    功能请求: 使用 Nuxt 模块安装代理技能

    更新于 2026年9月26日
  • #1531

    alpha 版本:在 Windows 10 PRO 中,退出命令出现卡死/超时

    更新于 2026年9月10日
  • #1524

    `nuxi dev --inspect` 行为不正确 (无法检查 nitro 运行时、服务器函数、中间件等)

    nitro更新于 2026年9月6日
  • #330

    `nuxt doctor`

    enhancementdiscussion更新于 2026年8月22日
  • #540

    生成的 README 提及所有软件包管理器, 而不是 CLI 提示中选中的软件包管理器

    更新于 2026年7月25日
  • #1223

    支持暂停 HMR

    更新于 2026年7月25日
  • #1166

    Nuxt 安装模板选择感觉很盲目

    discussion更新于 2026年7月25日
  • #1136

    特性请求: 超载和自定义模板的能力

    enhancementgood first issue更新于 2026年7月25日

> 标签

TypeScriptclinuxt

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月30日
分类前端框架
定价开源

> 相关工具

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