Open TheCakeIsNaOH opened 5 years ago
@TheCakeIsNaOH
I don't have a problem with this - however when we start considering the context of that command versus uninstall and what it means on Windows, I can see it potentially causing more confusion.
Context: Chocolatey manages Chocolatey packages (nupkg files), not software in Programs and Features directly. So if we are talking about an installer package (one that manages software in Programs and Features), right off the bat I feel that "remove" package should likely only get rid of the Chocolatey package and not also uninstall the software that the package may have put there. This does present additional discrepancies when we start talking about true packages where the runtime files are all inside the packaging folders. "Remove" there would remove the software as well. So for me to reduce confusion, one should consider "remove" and "uninstall" to be synonymous.
However I also want to consider the opposite of remove - "add". Would you see this as synonymous with "install"?
There is one other area as well - update
vs upgrade
. Some of those PMs use update
relating to packages, some use upgrade
. Then there are some that use both update
and upgrade
but they mean different things. We've went down the route of deprecating update
for upgrade
so that we can use update
to update package indexes as we see that more comprehensive when we look at what other package managers do. This is a longer work in progress as we deprecated update about 3.5 years ago. Thoughts here as well?
However I also want to consider the opposite of remove - "add". Would you see this as synonymous with "install"?
I think pretty much all PMs that I am familiar with exclusively use install. I would not be opposed to having "add" as a synonym to 'install', but have no strong feelings either way.
We've went down the route of deprecating update for
upgrade
so that we can useupdate
toupdate
package indexes as we see that more comprehensive when we look at what other package managers do. This is a longer work in progress as we deprecatedupdate
about 3.5 years ago. Thoughts here as well?
This sounds good and makes sense.
It would be nice if
choco remove
could be added as an alternative tochoco uninstall
just likecinst
is an alternative tochoco install
.The reasoning behind this that many of the most popular package managers such as apt, dnf, and homebrew all use
remove
to uninstall/remove a package. Therefore, it is muscle memory to type remove instead of uninstall for some people, myself included.