'nuget “-Allversions” is invalid

I am migrating all packages from nuget. Server to Baget and I have a problem: I used the nuget list command in the migration. But I found that the -allversions parameter does not list all package versions. what should I do, my Baget server only has the latest package. How can I migrate all versions of all packages? I use version of 5.1 nuget cli



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source