defang
defang copied to clipboard
npx defang@<version> fails to get the version
npx defang@
Reason: the cli.js from 0.5.26 will download the latest version if there is no installed binary regardless of the @version passed to npx. cli.js never gets @version info.
We should add a flag --use-version=
- The downloaded binary should be tagged (the file could be renamed to include the version info) with the version it is
- cli.js should look for the version installed locally before downloading
Also would be useful to add to our shell script installer.
Not important enough. Can use the alternative installers instead.