Build Website
Skixkk.github.io
Nuxt
Vitepress
一系列命令
node -v
npm -v
# 查看 有没有bun
npm list -g
# 安装 bun
npm install -g bun
# 选择 `minimal – Minimal setup for Nuxt 4 (recommended)`
bun create nuxt@latest Skixkk.github.io
bun add -D vitepress@next
bun vitepress init
npm 国内镜像
查看当前的镜像源
npm config get registry
设置为淘宝镜像
npm config set registry https://registry.npmmirror.com
设置为 npm 官方原始镜像
npm config set registry https://registry.npmjs.org/
管理 npm 镜像
nrm 是一个 npm 源管理器,允许你快速地在 npm 源间切换。
npm install -g nrm
查看可选的源
nrm ls
如果要切换到taobao源,执行命令
nrm use taobao
测试速度
nrm test
12 八月 2026