Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

yarn v2/v3 has no outdated command?

Tags:

yarnpkg-v2

on yarn outdated in yarn v2 or v3 there is this error:

Usage Error: Couldn't find a script named "outdated".

I found an alternative with yarn upgrade-interactive, but then I need to install this plugin into the project, which is wanted to avoid. Is there any alternative?

like image 480
Melounek Avatar asked Dec 12 '25 18:12

Melounek


1 Answers

In yarn 4, the upgrade-interactive tool comes with the yarn CLI, no need for a plugin.

Simply do

yarn upgrade-interactive
like image 94
maxpaj Avatar answered Dec 14 '25 18:12

maxpaj