entropic-dev / entropic

🦝 :package: a package registry for anything, but mostly javascript 🦝 🦝 🦝
https://discourse.entropic.dev/
Apache License 2.0
5.29k stars 152 forks source link

Distribution #262

Open Daniel15 opened 5 years ago

Daniel15 commented 5 years ago

How are you planning on distributing Entropic to users? Will people have to manually download it, or will you just distribute it via npm (and expect people to have npm installed), or something else entirely?

For what it's worth, for Yarn we provide a few options, like a Windows installer, Debian/RPM repo, Homebrew, an installation script, and also publish it to npm.

Sorry if this is a duplicate issue - I did skim the other issues but couldn't see anything related.

zacanger commented 5 years ago

ds can currently be installed from the AUR, with Brew, and with curl or wget (docs here), and there's an issue for making it installable through Entropic itself here. I think more packages (rpm, deb, msi, etc) would be awesome, eventually.

Daniel15 commented 5 years ago

Cool, thanks, not sure how I missed that document. Would be good to have a way that works well for Windows users too, given it's the most popular development OS.

zacanger commented 5 years ago

The curl and wget instructions should work for Windows as long as msysgit/WSL/something like that is set up, but in the future an MSI would probably be a good idea.

fetis commented 5 years ago

The curl and wget instructions should work for Windows as long as msysgit/WSL/something like that is set up, but in the future an MSI would probably be a good idea.

I can confirm it. I got ds installed on Windows with help of git once I downloaded the bash script and opened it.

fetis commented 5 years ago

I think I'll update the installation guide with Windows section, since the fact that it actually works was a big surprise for me.

Daniel15 commented 5 years ago

So I just realised that PowerShell aliases wget to its built-in equivalent (Invoke-WebRequest), so wget works in PowerShell even if you don't actually have wget installed. Might be worth mentioning that? You'd actually need Bash to execute the script though, so perhaps that's not actually relevant.