Issue
I am using Magento 2 and I run all of my updates through Composer. I would like to see what Composer packages I have that are currently out of date. When I run composer outdated
I get this:
[InvalidArgumentException]
Command "outdated" is not defined.
Is there another command I can use?
Solution
Your Composer is too old. outdated
command was introduced in 1.1.0
. If you're using pretty ancient 1.0.0-beta2
, you may missing many features and bugfixes, you should really upgrade to the last version.
If 1.0.0-beta2
is the last version available in repository of your Linux distribution, you may try uninstalling it and download last version directly using instructions from documentation. Official repositories are often focused on stability and they're avoiding non-patch upgrades. In many cases it means that PHP packages from official repositories are pretty outdated (2 years is like ages in PHP world). You should either install such packages directly from source or use some alternative repositories with more fresh packages (like this PPA for Ubuntu).
Answered By - rob006
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.