Update options including order and badges.
Probably need to split first based on OS:
Sounds like it's mostly about Windows @casperdcl. Would you like to open a PR directly for this? I think you worked on the snap method, for example.
I didn't intend it to be only about Win. In my experience there tends to be different ordering & options for Linux/Win/Mac. Could make a PR but probably needs discussion first from users of different OSs how they prefer/recommend installing (was discussing with @shcheklein...)
something else include "binary" pyinstaller packages - pkg on Mac, exe on Windows.
I think we can do something like:
Linux:
conda
snap
apt
pip
Mac:
conda
brew
pip
pkg
Windows:
conda
choco
pip
exe
@casperdcl I'm not sure about conda vs brew/snap, for example. How common is it to install things with conda globally? (I know for example it's better not to do this with pip).
probably needs discussion first
It may be worth it to review past issues related to this, as we recently completely rewrote the installation section. e.g. #701/#734, #660/#701/#734, #656/#695, others?
else include "binary" pyinstaller packages
Related: #65 (That's an old one!)
I think there are 2 major categories to split up: OS and end-user proficiency. Casual users can't be expected to go through the lengthy "separate conda env with dvc script appended to global $PATH" I posted elsewhere. Actually I'd say casual users should stick to snap/choco/brew. Advanced users meanwhile probably don't need much guidance - they just need to be aware what packages exist.
@casperdcl sounds good.
Advanced users meanwhile probably don't need much guidance
It seems an obvious though, but my recent experience makes me think differently a bit. And probably, the reason for this that being even an advanced CLI user does not make you immediately an expert in different ways to install things or different environments.
Probably they do not fit then into your meaning of advanced though, right? :) and should stick with some default choice.
Probably they do not fit then into your meaning of advanced though, right? :) and should stick with some default choice.
Indeed. In this context I was using "advanced" to refer to knowledge of their preferred installation mechanism.
Shall we include snap here too and close #918? Cc @casperdcl please notice that other issue's desc:
as we discussed, could you please add this method to the docs as snap is official now?
for the record this issue is about documenting a new option reordering options while #918 is about reordering options documenting a new option (vis https://github.com/iterative/dvc.org/issues/918#issuecomment-575936843).
I think you meant this one is about reordering and #918 about a new option @casperdcl.
Don't forget brew works on linux!
also potentially badges (vis https://github.com/iterative/dvc.org/issues/918#issuecomment-577345881). Added to description here...
Windows:
conda
choco
pip
exe
Why is conda on top? choco is probably the easiest from cmd line for most cases, no?
@jorgeorpinel it's a good question. I don't know how popular choco is to be honest ... it's as popular as brew for example?
I think maybe conda was on top for consistency across all platforms but I agree we should probably change to conda as second for all.
it's as popular as brew
My impression is that it's the equivalent to brew, yes. But much fewer people work on command line in Windows just because (developers mainly, I guess, same as in Mac but there's less).
Probably more people use Anaconda Prompt because it's such a popular DS Python disto. But then again Git Bash is probably also quite popular (comes included in a bunch of other tools like Cmder or Git for Windows), and choco would be a better fit in those cases... so yeah not sure.
For now I put choco on top in https://github.com/iterative/dvc.org/pull/1195
Most helpful comment
I think you meant this one is about reordering and #918 about a new option @casperdcl.