mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-28 16:42:04 +00:00
57 lines
2.0 KiB
Markdown
57 lines
2.0 KiB
Markdown
---
|
|
title: "Nightly Release Channel"
|
|
description: "The nightly release channel allows using Nuxt built directly from the latest commits to the repository."
|
|
---
|
|
|
|
# Nightly Release Channel
|
|
|
|
Nuxt lands commits, improvements, and bug fixes every day. You can opt in to test them earlier before the next release.
|
|
|
|
After a commit is merged into the `main` branch of [nuxt/nuxt](https://github.com/nuxt/nuxt) and **passes all tests**, we trigger an automated npm release, using GitHub Actions.
|
|
|
|
You can use these 'nightly' releases to beta test new features and changes.
|
|
|
|
The build and publishing method and quality of these 'nightly' releases are the same as stable ones. The only difference is that you should often check the GitHub repository for updates. There is a slight chance of regressions not being caught during the review process and by the automated tests. Therefore, we internally use this channel to double-check everything before each release.
|
|
|
|
:::Alert
|
|
Features that are only available on the nightly release channel are marked with an alert in the documentation.
|
|
:::
|
|
|
|
## Opting Into the Nightly Release Channel
|
|
|
|
Update `nuxt` dependency inside `package.json`:
|
|
|
|
```diff [package.json]
|
|
{
|
|
"devDependencies": {
|
|
-- "nuxt": "^3.0.0"
|
|
++ "nuxt": "npm:nuxt-nightly@latest"
|
|
}
|
|
}
|
|
```
|
|
|
|
Remove lockfile (`package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, or `bun.lockb`) and reinstall dependencies.
|
|
|
|
## Opting Out From the Nightly Release Channel
|
|
|
|
Update `nuxt` dependency inside `package.json`:
|
|
|
|
```diff [package.json]
|
|
{
|
|
"devDependencies": {
|
|
-- "nuxt": "npm:nuxt-nightly@latest"
|
|
++ "nuxt": "^3.0.0"
|
|
}
|
|
}
|
|
```
|
|
|
|
Remove lockfile (`package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, or `bun.lockb`) and reinstall dependencies.
|
|
|
|
## Using Latest `nuxi` CLI From Nightly Release
|
|
|
|
:::Alert
|
|
All cli dependencies are bundled because of the building method for reducing `nuxi` package size. You can get dependency updates and CLI improvements using the nightly release channel.
|
|
:::
|
|
|
|
You can use `npx nuxi-edge@latest [command]` to try the latest version of the nuxi CLI.
|