How to upgrade packages using trex cli? #91
-
|
Can we upgrade all or some of the packages using trex to their latest versions? trex upgrade * // Upgrade all packages to latest versions
trex upgrade oak, denodb // Upgrade denodb and oak to latest versions |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
hello, to update the packages there are two ways the first is to install the latest version available using the
trex install -m oakthis will install the latest version available in url in import_map.json
The second way and which is the one I recommend to use, is always to specify which version to update to.
trex install -m [email protected]in this way download this specific version, in the same way you can update several packages in the same command.
trex i -m [email protected] [email protected] |
Beta Was this translation helpful? Give feedback.
hello, to update the packages there are two ways the first is to install the latest version available using the
installcommand.exampletrex install -m oakthis will install the latest version available in
deno.land, Personally, I don't recommend using this as you download the package without using a specific version.url in import_map.json
https://deno.land/x/oak.mod.tsThe second way and which is the one I recommend to use, is always to specify which version to update to.
exampletrex install -m [email protected]in this way download this specific version, in the same way you can update several packages in the same command.
exampletrex i -m …