News for hackers. Stuff that matters.
Re:A command-line installer for Windows by FavouriteColour on Monday January 21, 2019 @07:50PM (#18965048)
This looks pretty good. At the moment I'm using MSYS2 on my work machine (have to use Windows).

Any thoughts on this installation method?

    iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
I'm not sure IT Security here would be too impressed.
Re:A command-line installer for Windows by yjftsjthsd-h on Tuesday January 22, 2019 @12:21AM (#18966162)
`curl | sh`, take 2:) I hope nobody would be impressed, unless there's some safety features that aren't obvious here.
Re:A command-line installer for Windows by smittywerben on Tuesday January 22, 2019 @09:20PM (#18975102)
FYI powershell comes with curl now (and ssh).
Re:A command-line installer for Windows by yjftsjthsd-h on Tuesday January 22, 2019 @10:26PM (#18975397)
I'm aware of openssh on NT being a thing now, but last I saw I thought powershell's "curl" was just an alias to their equivalent, which means that ex. options don't actually match for anything non-trivial. (IIRC, they did this with lots of commands; `ls` gets mapped to a local equivalent, but `ls -lahr *.foo` would not do what you think it should)
Re:A command-line installer for Windows by smittywerben on Wednesday January 23, 2019 @03:52AM (#18976737)
It's the real curl[0]. I actually like the aliases and they've even added ctrl-shift paste in the options. Maybe they should be the default.

The windows filesystem still makes no sense but that's an NT issue (dropbox cant sync con.sh???). SSH has a surprisingly native feel but graphical apps (vim, screen) still have rendering problems, and the ssh-agent daemon isn't set up right by default.

Until they make Windows LTSC unusable, it's not _too_ horrible right now. But for a serious programming project there's still no question for me (but fix your damnable sound drivers Ubuntu).

[0] https://blogs.msdn.microsoft.com/commandline/2018/01/18/tar-...

Re:A command-line installer for Windows by tracker1 on Monday January 21, 2019 @09:01PM (#18965417)
You can download/run the powershell script separately.
Re:A command-line installer for Windows by skrebbel on Tuesday January 22, 2019 @02:45AM (#18966689)
When you do it from a non-admin powershell, it's precisely as secure as downloading and running an installer.