I’m using nextjs 14, node 20/22 but continously using next runtime v4 when build.
```
10:41:21 PM: ❯ Using Next.js Runtime - v4.41.3
10:41:21 PM:
10:41:21 PM: ❯ Outdated plugins
10:41:21 PM: - @netlifynetlifynetlifynetlify**/plugin-nextjs**@4.41.3: latest version is 5.12.0
10:41:21 PM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins) - it isn’t appear
```
I installed plugin package v5 and toml files / removing my project and recreate / and update setting, but not worked
Thanks for reaching out! I understand you’re running into an issue where your site is still using @netlify/plugin-nextjs v4 during builds, even after installing v5 locally. Let’s walk through some steps to get your build using the latest plugin version.
1. Confirm you’re not relying on the legacy built-in plugin
Netlify automatically adds the Next.js Runtime as a core plugin for Next.js sites, even if you don’t explicitly list it in your dependencies. If your site still shows v4, it means the build is picking up the default plugin, not your manually installed version.
2. Ensure the plugin is explicitly installed in your project
From your site root, run:
3. Declare it in netlify.toml
Explicitly define the plugin in your netlify.toml so the build uses your version:
[[plugins]]
package = “@netlify/plugin-nextjs”
4. Clear the Netlify cache before redeploying
Sometimes an older cached plugin version gets reused. Trigger a deploy with cache cleared by going to Site settings → Build & deploy → Clear cache and deploy site.
5. Double-check Node.js version in Netlify
In Site settings → Build & deploy → Environment, ensure you’ve set NODE_VERSION to 20 or 22 to match your local environment.