cli
cli copied to clipboard
CLI command to switch between nightly and stable nuxt channels
We introduced an edge channel since Nuxt 2, mainly for internally testing changes before public releases. This allows opting-in to beta test features ahead of time for the community too.
Manual migration is currently documented here: https://v3.nuxtjs.org/guide/going-further/edge-channel.
The idea is to make it easy to opt-in and opt-out from edge release channel and also be able to keep it updated. @Atinux previously shared the idea of nuxi edge on|off
an @AndreyYolkin in nuxt/framework#6998 using nuxi upgrade --channel edge
. I like both actually because they complete each other and can be combined:
-
nuxi upgrade edge
: Change dependency tonpm:nuxt3
and upgrade to the latest edge -
nuxi upgrade stable
: Change dependency tonuxt
with the latest RC tag
I want to add 1 more question to resolve: should we upgrade not only nuxt but other enviroment packages, too?
I have at least @nuxt/kit
(because it's recommended to be explicitly installed) and also @nuxt/bridge
.
IMO, we should update them with upgrading Nuxt, too.
That makes sense! If you use caret ^
for nuxt/kit
dependency, nuxi upgrade
should already handle the update via lockfile but it could be also explicitly bumped from package.json
too. Do you mind to open a new issue not forget about it?
Yes, I'll create create the issue👌