When I installed Windows 8 on a Windows 7 machine I had configured to triple boot with Windows on the main partition and two Linux distros on other partitions, you patched my bootloader to only recognize Windows.
I've never forgiven you. (It wasn't tough to fix, actually, but it was just like "wow, really, Microsoft?")
BONUS EDIT: Chocolatey has been around for years and you still haven't given it first-class support or provided an alternative. I want a Windows package manager - let me set up a new box with a Powershell script without needing to manually install other software first.
Or, if you're not afraid of using the command line, use Chocolatey. It's the same thing but simpler to use and has a waaaaaaaaaaaaay bigger list of programs.
Here's a quick tutorial on how to install and use it: https://www.youtube.com/watch?v=yBk9DuAHNuc
Ever since I've learned of it, any program that I've wanted to install, if it's on Chocolatey then I'll get it from there. Just open up cmd and type "choco install [programname]" and it takes care of everything. It's just so convenient.
Chocolatey also supports multiple installs. So if you're formatting your computer or whatever, you can do "choco install [program1] [program2] [program3] ..." and it'll do all of them in a row. Or you can throw those into an XML file like so (that's actually the one I use :p) and just do "choco install [filepath]".
ps: In case someone's wondering about updating, chocolatey also easily takes care of that with the "choco update all" command.
Congratulations to the Atom team. They've come a long way from the unusable editor that I tried in early 2014. I switched over from Slickedit about 8 months ago and have been (mostly) happy with it ever since.
Now they just need to update their Chocolatey repo... The release in that repo is 6 months old now.
Win-get and Chocolatey are package managers for Windows, similar to apt/synaptic on Ubuntu. They're not amazing, but they handle most stuff pretty well.
Edit: Grammar and links.
Chocolatey. Because it makes it easy for me to install all my other personal must-haves.
Here's my install script for new Windows computers, for example:
https://gist.github.com/Ajedi32/08f0e446f8282fd7e01653c6d6c248f7
It's been awhile since I've updated it, but it's fairly complete.
assuming you are on windows (otherwise why would you have IE...?)
Open a powershell prompt as admin, run the following:
set-executionpolicy unrestricted -Confirm:$false
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco feature enable -n allowglobalconfirmation
choco install googlechrome
no more having to open IE to install chrome
Definitely a step in the right direction. Next steps I'd like to see from MS though:
1- Chocolatey and BoxStarter should come pre-installed on Windows professional distros.
2- I'd like Microsoft to start publishing all of their own dev tools on Chocolatey. Right now packages like Visual Studio are maintained by the community, which contains some inherent risk since literally anyone can publish such a package. (Contrast that with Jetbrains' tools like ReSharper, which are directly published by the software's creators.)
3- They should allow package maintainers to publish with a Windows code signing certificate (like what is currently user for desktop/Windows Store apps) to provide a trust network on the Chocolatey platform.
Chocolatey, similar but different.
>Ninite is a solid solution if you don't mind not being able to script it and only install the applications that it has listed on the Ninite page. You are, however, guaranteed that you have everything you need to install sheerly by having the Ninite Installer. In that way it is better than Chocolatey, which most packages require access to the internet to download installers that do not have distribution rights with them (Ninite does not incur this extra point of failure).
>Chocolatey has 600% more packages than Ninite and a community that is driving to continually make it better. If you need to get to older versions of packages, many of the packages on Chocolatey.org allow for this. What Chocolatey lacks in the guarantee that Ninite provides, it makes up for in features and options. Chocolatey can provide packages for non-free products, have multiple sources and folks can script the installations. Chocolatey is more than just an installer and with that does not require administrative privileges to use.
>Both solutions suffer from the issue of having the most up-to-date packages available, it's just that Chocolatey is more transparent about it.
>Whether you use Chocolatey or Ninite, consider that the two answer the same question differently and that is okay. They can live in harmony with each other and at some point Chocolatey may offer Ninite as package source.
+1 for chocolatey. Perfect for new machines. I run this script whenever I'm finished resetting a windows 10 machine. I share it with friends looking to reinstall windows. It's super easy to modify for one's liking:
::Install Chocolatey @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
::Upgrade Chocolatey choco upgrade chocolatey
::Allow Installation of Packages without confirming each one choco feature enable -n allowGlobalConfirmation
::Install Packages (use choco search nameofapp
to find exact names)
choco install googlechrome
choco install steam
choco install ccleaner
choco install ccenhancer REM Add-on for ccleaner that adds support for more applications
choco install battle.net
choco install utorrent
choco install discord
choco install revo.uninstaller
choco install dropbox
choco install winrar
choco install cccp
choco install adobereader
choco install uplay
choco install mumble
choco install flashplayer
choco install jre8
choco install javaruntime
choco install flashplayerppapi
choco install malwarebytes REM Best anti-malware in the biz
choco install puush
choco install openhardwaremonitor REM great for monitor tempuratures after an OC
choco install everything REM helps you find any file on your computer instantly
choco install tightvnc REM good RDP solution
choco install virtualclonedrive REM good .ISO, .BIN mounting solution
choco install geforce-experience
choco install geforce-game-ready-driver
::Final run through of all packages and upgrade them to the latest version choco upgrade all
Chocolatey is the shit. First time I'm touching a PC/VM I'd always install it first right from command line (no need to even open a browser). Then I can just run "cinst firefox googlechrome peazip notepadplusplus k-litecodecpackmega sysinternals foxitreader libreoffice-fresh paint.net fsviewer -y" go elsewhere and return to a desktop that's almost ready to deal with everything.
For those lucky 10,000 who don't get the reference: http://xkcd.com/1053/
You do have things like Chocolatey and Npackd for windows. Though I have never used them, so I don't known which is better, or if they are even all that good.
You could try the hackey solution for changing the drive here.
Or you could try Chocolatey, which is awesome and lets you install whatever you want with about two commands.
I use Chocolatey to install what Ninite doesn't.
Just another note- instead of ninite you might want to consider chocolatey:
I found it more similar to Debian apt-get, and hence better.
I don't have an association with the project, just a happy user.
Hmm, will it continue to work on Windows10?
Eh? Microsoft actually made a package manager, called it "OneGet", and it uses Chocolatey software repository? WTF?
http://blogs.msdn.com/b/garretts/archive/2015/01/27/oneget-and-the-windows-10-preview.aspx
Did the hell freeze over or something?
Windows 10 includes a package manager, OneGet. It's open source, you can check it out here: https://github.com/OneGet/oneget
OneGet combined with the Chocolatey provider (https://chocolatey.org/) should prove to make this situation much better.
By apt-install, do you mean a package manager?
Chocolatey (https://chocolatey.org/) is a pretty good option for this on Windows today.
We're tracking this space on the command-line experiences team, but it's not an area of focus that currently overlaps with the Terminal work.
The Terminal is focused on bringing the user interface that our developer customers have been clamoring for while enabling all existing command-line text-mode utilities to run inside of it, including Chocolatey, CMD, PowerShell, and more.
Let me introduce you to Chocolatey (it's free) :-)
Run this in an elevated command prompt: @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Find the package that you want from here: https://chocolatey.org/packages
Run this:
choco install NameOfPackage -y
Sit back, profit.
What would be killer would be to have Tron in a Chocolatey package with the proper dependencies. Then all you'd need on a user's computer if you didn't have access to all your tools, you could install chocolatey and do
cinst tron tron
And done! This would also bypass the need for BTSync and everything!
This is not a system level package manager, it is just a collection of installers of some applications. That is an external application (need to install it externally) and a service (need to sign up an account) I have to trust my entire system and programs to install from. And I would make my system dependent on an external third party application, which locks specific features behind a paywall, such as "Runtime Malware / Virus Protection" and "Full Package Synchronization": https://chocolatey.org/pricing
So no, this does not count as the same as an integrated package manager like in Linux. And this is not user friendly at all. I am currently looking through their privacy policy: https://chocolatey.org/privacy#how-do-we-use-your-information
SmartScreen - You, uBlock Origin and/or Mozilla Enhanced Tracking Protection
Windows Defender - You, pfSense
Microsoft Store - https://chocolatey.org/ and official website for each program.
Microsoft Edge - Mozilla Firefox, Ungoogled-Chromium, Tor and KeePassXC.
1.
On Windows 10:
Install-Package vim vim myfile.txt
Pre Windows 10:
iwr https://chocolatey.org/install.ps1 | iex choco install vim vim myfile.txt
2.
iwr http://somesite.com/myfile.txt -OutFile myfile.txt
(iwr is a built in alias of Invoke-Webrequest. iex => Invoke-Expression.)
What about Chocolatey - a free and open source package manager for windows. It has most popular programs easily downloadable with a simple command line call e.g.
choco install googlechrome
Chocolatey is even better with 2600+ programs. It's like apt-get for Windows; you just open a command line and type "choco install firefox."
If you're a little more tech savvy, grab Chocolatey and set up an install script that includes the chocolatey app. Just run it after you install and leave it. It grabs about 10gb of programs for me and installs them. Think apt-get for Windows.
Edit: For reference, here's mine!
The biggest change for me was using a package manager for windows, I personally prefer https://chocolatey.org/
After you install chocolately you can install applications in the form od packages with a powershell line such as:
Choco install googlechrome -y
Install multiple apps at once with the same command but with a space between the different packages:
Choco install googlechrome firefox 7zip.install steam -y
Upgrade your applications at once:
choco upgrade all -y
Need to know if theres a package for your app? Check here:
https://chocolatey.org/packages
There are other package managers but this is lightweight and straight forward.
The problem would go away if windows users would finally start using a package manager. Linux users are covered. Mac users are used to homebrew by now and for windows there is choco (or steam for games). All three have OpenJDK available.
I don't get why downloading a zip, unpacking it, clicking on an executable and then on a 'next' button a couple of times, is still considered user-friendly and the default on Windows.
Some reasons may be these:
Some efforts have been made on Windows to adopt this behavior, but still feel clunky and out of place. Windows has been conceived from its roots to avoid shell and make everything dummy-proof, which complicates things a lot sometimes.
Basicly any os except windows have stores/repos by default where any app gets automaticly updated.
for windows there is chocolatey to install and update many stuff (also emulators) but i don't know how up-to-date the chocolatey repos are.
apt is a package manager. It gets software from a trusted repository of software, and it's able to keep your software up-to-date as well. Downloading software from websites is dangerous and bad practice, generally speaking. In the windows world it's the only option because windows does not have concept of package management built-in. There are, however package manager for windows too, but I have never used them, so I can't vouch for them. https://chocolatey.org/
Gitlab CI is my default one now. With one tool you have basically everything a project needs:
I am maintaining gitlab-runner chocolatey package for Windows that can turn your machine into gitlab node (does the builds) in one shell call.
Package Management for Windows
The library is not as comprehensive as some of what you get on the more mature Linux repos and you need to use a downloaded client but there is enough up there for me to script the download and installation of about 90% of my applications.
Well done. Very helpful with windows being a pain to work with.
As an alternative to the first few steps, I'd suggest doing this.
Install Chocolatey:
> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
> iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Install Python
Install Pip
Install Cheetah
Continue on to "Install Sickbeard". Unless you want to install git and git-clone sickbeard.
If there are any mistakes in this, let me know.
I used Ninite for years but also check out Chocolatey. It supports way more apps. You can run it via Powershell or download an optional UI. Also great for keeping everything up to date. https://chocolatey.org/
Not necessarily advocating for Windows, but on my Windows installs, I use the chocolatey package manager. Similar to apt-get / pacman / yaourt
I type choco upgrade all -y
Here's a tip from the folks at Chocolatey:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
First bit changes execution policy to a script will run. Second bit forces TLS 1.2. Third bit (the iex, which is short for Invoke-Expression) downloads the installer script using .NET code and runs it.
You could also use chocolatey (https://chocolatey.org/) which basically is a package manager for Windows. Just backup all your installed packages every day (or week, whatever) and install them again from a txt file if you need to do a clean install or have a new PC.
The advantage is that it supports more programs which you can also update to a newer version using chocolatey. (You can also do this with Ninite afaik.)
well powershell has invoke-webrequest
which might work better
PS C:\Users\RubyPinch> (Invoke-WebRequest 'https://chocolatey.org/install.ps1').content | iex Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
much better
The command line tool youtube-dl is very good. Use it as follows to extract audio only (needs ffmpeg/ffprobe installed):
>youtube-dl.exe -x URL
https://rg3.github.io/youtube-dl/
The easiest way to install and update it, and ffmpeg, is with chocolately:
Install:
>choco install youtube-dl
>choco install ffmpeg
Update:
>choco upgrade all -y
Caveat with ninite is that it will only install programs to C:. For most people this isn't a problem, but many users like a little more control. (Last I checked, the ninite devs said they wouldn't support this level of control, but this may have changed.)
If you want more control, try chocolatey!
Just get the JRE directly from Oracle downloads. Or better yet, use Chocolatey and never worry about app download and upgrade grinding again.
> I hate Windows.
How have you installed Emacs?
I had a good time with Chocolatey's Emacs 64 package on a slow, old PC with Windows Vista. Looks like their August build is 25.2.1.
Bookmarked. I would also keep in mind the Windows users. I started as a Windows user and was severely confused at first. I did things that were just unnecessary to get Python running. I recommend the Chocolatey package manager to install things like pip and such: https://chocolatey.org/
Also, the latest version of Python's Windows installer includes the ability to add python to the PATH.
PortableApps.com: Portable versions of many excellent programs. You don't even need the main PA program, just install the ones you want into any old folder and make a link to it.
It's fits the same niche as Ninite or Chocolately, but it's the one I've used the longest.
Ninite is a great start, but if you have more complex requirements I recommend chocolatey . It's like apt-get or yum for Windows. At the moment there is over 3700 packages and programs available. You can make a list of programs in XML and it will install them automatically.
EDIT: For the curious here is a short example of the install list
If you wanted a package manager feel for Windows then Chocolatey is probably more up to your speed. Its uses nuget package management under the covers, which is one of the best things to happen to .net developers who like to use open source projects in their code.
Its a great way to prep a system by running a batch file that may or may originally live in a source code repository.
For npm on a clean Windows box I do:
The same process for Rust and Cargo would be crate.
Um so etwas von Anfang an zu vermeiden sollte man sich anschauen welche Optionen beim Installer angewählt sind und nicht gedankenlos durchklicken.
Ich nutze, da ich den apt-get Gedanken toll sind, unter Windows chocolatey um die meiste Software wie Java, Flash, Silverlight usw. zu installieren. Dort sind die meisten aktuellen Packages Adware frei. Außerdem kann man das System damit relativ leicht aktuell halten.
Another good site to download and install some programs without bloatware is https://chocolatey.org/
It's not really like ninite but if you know what you want to download you can pull it up and just copy and past the information into your command prompt or just run it from your computer and it'll quickly install.
The Windows 8 store kinda tried... But has, so far, failed miserably, and really has no place in a serious environment. Chocolatey NuGet is our only hope for Windows package management.
IMO, MSI doesn't count with the issues it has.
I see what you want to achieve, it's tedious to keep everything up to date. If it is just for yourself to use, I can't recommend Chocolatey enough, it's really easy and I never want something else. It's so easy to update everything with a single command: choco upgrade all
. And installing tools is simply: choco install nodejs
, choco install git
, whatever. There are a huge amount of packages.
Yep. I'd argue it's even easier, as we have something called a package manager. It functions similarly to the app store in a propietary OS, but everything is free and vetted for quality. Frankly, the package manager is one of the main reasons I use Linux. You can get one for Windows too.
You don't even have to pay extra to automate things but it's a pain in the ass to setup. Look at things like Chocolatey. Write a Powershell script and you're half way there. You can use tools like Vagrant to test your scripts (be warned Windows virtual machine images are HUGE - you likely also need a separate license for these virtual machines despite the fact they're disposable test machines) in a virtual environment.
Pro tip: If you are annoyed by Youtube-DL's frequent updates it's available on Chocolatey: https://chocolatey.org/
To install Youtube-DL, MPV and ffmpeg:
choco install youtube-dl mpv ffmpeg
To update all packages:
choco upgrade all
Or just install the GUI if you don't like PowerShell:
choco install chocolateygui
Note: All packages mentioned here are trusted, this means they are either maintained by Chocolatey themselves (for example the GUI) or by trusted package maintainers.
Sure.
In addition to the setup, I like to run a program like https://ninite.com/ or https://chocolatey.org/ (the last with a custom script) to make program installation as painlessly as possible.
Using these tricks, you should be able to have a machine fully finished and installed with software in less than half an hour.
I'm glad it's not just me. I made it midway through the first paragraph before I caught on. I'm sitting here wondering if he's using Chocolatey or if he's gone off the deep end and dip-coated the entire server.
I thought you guys might find it useful to have YNAB easily installed. YNAB is on Chocolatey.org and I'll make sure to keep it updated to the latest version.
For those who don't know what Chocolatey is: >Chocolatey is a package manager for Windows (like apt-get or yum but for Windows). It was designed to be a decentralized framework for quickly installing applications and tools that you need.
Don't dismiss the idea of a package manager so hastily. I have seen 70-year-olds using Ubuntu's GUI version of aptitude successfully. Thing is she (yes, a grammy) didn't use any computer before. First timers apparently learn easier than those ignorant "I know what I do, I've done it for years!" plebs.
Using Windows since 95 has dumbed down users to use a computer in inefficient, ever-changing and error-prone ways. Microsoft finally decided to try out an optional package manager for Win 10, but it will need some time until Win 10 finally is released and gets a sufficiently high market share. I can't believe that this feature didn't already get ripped from GNUs in the 90s.
I seriously object the sentiment that choco install javaruntime
would actually be harder than googling for Java and click through an installer which "asks" you to install the Ask toolbar. If anything, having to do the exact same step for nearly all programs and tools the average user uses, is actually simpler.
If you don't like working in terminals, checkout ChocolateyGUI. Uhh, and cmd.exe/DOS/Batch is a crappy thing of the past. Windows has PowerShell for quite a while.
Check out chocolatey for windows package management. It has a large collection and for the most part works. I wouldn't install it on a client machine but makes reinstalls for my systems a breeze.
Windows:
run powershell as admin
ps:>iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
now you can
C:> choco install firefox
and whatever other stuff is in the repository. (2500ish packages right now). It's being adapted to one-get for powershell 5/win 10. because MS thought it was neato.
KatMouse will make mousewheel events follow the mouse cursor instead of keyboard focus.
VirtuaWin, in addition to giving you virtual desktops, adds an "always on top" toggle accessible by middle clicking title bars.
Putty's good for ssh. Cygwin's mintty terminal is based on putty. WinSCP and FileZilla are both good for sftp.
You can change the theme if you don't mind patching your uxtheme dll. Windows by default only allows Microsoft-signed themes. You can find a lot of themes on deviantart. I haven't done this much since XP though.
There's also this Chocolatey NuGet package manager that's gaining popularity, but I haven't used it much, apart from trying a GUI frontend that wasn't ready yet. I use Ninite, but it's commercial.
It's quite simple if you use something like chocolatey to install it. Chocolatey is a package manager for windows that allows you to run a single command and download/install/configure specific software without needing any interaction. (https://chocolatey.org/packages/youtube-dl)
So now you can install it using: choco install youtube-dl
Then after that it's simply: youtube-dl https://www.youtube.com/watch?v=VIDEOLINK
[Chocolatey](https://chocolatey.org/) for those of us on Windows.
Install your apps, write an update script, have the update script run once a week.
95% of my apps don't require me to intervene to update.
May I introduce you to WSL?
And in case you haven't heard of it already, Chocolatey (I agree an official Windows package manager would be great - the closest we'll ever get is probably the Microsoft Store tbh).
>> Package management (like Homebrew on Mac)
>Nope, or nothing that I am aware of. Closest thing i would suggest is Ninite, but it is not as complete. Should be enough for most standard users, not sure if it will fit your use-case.
Check out chocolatey
Open Powershell in Administrator mode (right click) and paste this:
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
Close and reopen your terminal and choco
should be available
Check again. New update: choco sync. You can now run one command and have it start managing all software that wasn't originally installed via Chocolatey.
Ninite and Chocolatey solves a lot of that headache for me.
Run ninite installer again to get all updates.
Run this to update all Chocolatey packages:
choco upgrade all
Awesome!
I am maintainer for a Brewtarget package on Chocolatey (like apt-get, but for Windows), updated package was just submitted and is under review currently :-)
If you're using chocolatey, you can get a silent install by simply using choco install winpcap
. That's the technique I use for continuous integration for libpnet.
http://leiningen.org/ <- written how to install on windows inside
now you have clojure installed!
then install chocolatey
now in a admin console
cinst emacs
now you have emacs!
runemacs
will start a detached emacs window
your conf should be in
c:/Users/your-id/.emacs.d/init.el
There is a world of stuff to do in there (maybe https://github.com/abo-abo/lispy & clojure-mode & cider-mode ???).
If you'd like a fully-offline installation, you can grab the installer .exe and launch it from the same directory as the update package 7z file. Doing so will eliminate the need for the installer to download the update separately.
Alternatively, we also have a Chocolatey package that can be invoked with choco install Bitwarden. This installs the package silently.
choco install powershell-core
then deploy powershell script scheduled task via GPO
choco update all -y
have all our admin support tools installed via choco and the scheduled task runs on all our servers once a week to keep everything up to date.
Having a little problem understanding why you would want that. Not taking your question too literally, I would suggest;
Look into Chocolatey.
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
When that is done, you can do things like:
choco.exe install -y --force --pre powershell-core
choco.exe install -y --force git
choco.exe install -y --force googlechrome
choco.exe install -y --force vscode.install
For a list of supported packages:
choco list
You're trying to install the package chocolateygui using the choco command but you haven't installed chocolatey (the choco command) yet. Follow the install instructions to install chocolatey first then repeat what you did to install the chocolateygui interface.
Pro tip: Windows has 3rd party package manager.
It's pretty great. Don't worry if you have softwares already installed. Just add it through choco CLI/GUI and it starts to monitor it.
GUI here (after you install choco): https://chocolatey.org/packages/ChocolateyGUI
>A terminal that works like mintty
What does that do that the WSL terminal doesn't?
>a built in clang compiler (again, native)
Doesn't VS have an option to install and use Clang these days? I also vaguely remember that Clang has partial binary compatibility with the Visual C++. However, I doubt most Windows users would need a C/C++ compiler preinstalled; is there a problem with having to check a box in the Visual Studio setup?
>A good terminal with command line tools that make it easier to just add tools as needed.
Have you tried chocolatey? PowerShell is pretty nice (if a little verbose, although tab completion helps a lot there) once you learn it.
Easiest way to install Filebot is using Chocolatey
https://chocolatey.org/install
Once installed you can just do "choco install filebot" from an admin dos prompt.
There is a gui you can search and install also https://chocolatey.org/packages/ChocolateyGUI
It can be pretty nice at times. Just remember the important difference: while PS can work with text like a nix terminal, it will feel awkward to do so. Many things you try might not work exactly as you'd expect first try. That's because PS tries to deal mainly with Objects rather than Text. This means Powershell often feels more similar to C# than bash. But you can also imagine that this approach is more powerful at times, or easier to use.
Hot tip: on win10 you can win+x -> i
to jump straight into powershell. many linux commands you know and love will be alias
ed to similar commands, so you can often just check help ls
or some other common shell command. also helpful: some commands have a -WhatIf
parameter, which lets you run a command without running it.
Consider https://chocolatey.org/ as the unofficial first pass at the ease of apt-get.
If you run this in your cmd it'll install it for you, so you really don't need to open IE at all.
>@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
WARNING: Don't actually run a command given to you by a stranger on the internet. Go to https://chocolatey.org/install if you want more info.
Or if you want to avoid opening edge all together, open an elevated powershell and enter these commands:
Set-ExecutionPolicy RemoteSigned
then
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
and at last
choco install -y googlechrome
We OBTAINED this right. Audacity project gave us this right. We asked for this right. We have Audacity team consent to allow us to distribute Audacity binaries. Please ask them and see that we have the permission of Audacity team to host their binaries.
Chocolatey or any other service also has this right because Audacity is Open Source software. You need to obtain the consent for closed source software, and even there, in most cases, the authors/project managers have no problem with that.
I understand that but since we are making a big deal out of this and all these packages are hosted at this address https://chocolatey.org we ask you to inform your maintainers about this and kindly ask them to remove the code.
Saying that "it's not us" is like saying that you have no control, no power over the stuff that is being posted on Chocolatey website.
> Maybe there's something like apt-get
Yup thankfully there is one now. https://chocolatey.org/
>You have to use janky and clumsy third party tools like putty or cygwin
putty == shit GUI. Agreed
cygwin + conemu + zsh + apt-cyg = awesomeness! Far from clumsy.
It takes a bit of setting up, but once the above gets set, command line is lovely even on windows.
I'm just going to drop this here: https://chocolatey.org
I tried it on my virtual machines and it works verry well. It basically does the same as Ninite but with more programs. All you need is one batch file and an internet connection to install all programs you want on any pc. No need to download any installer - everything can be done via command line. I've got one for my virtual machines so I just copy that over, run it and wait until it's done. Works without issues so far.
Windows these days actually has a not-awful-actually-pretty-good Shell with Powershell, it's just aids to learn because Microsoft really wanted EVERY FUCKING COMMAND to use a Do-Thing format.
That being said, Chocolatey rules.
YSK that Chocolatey is even better and has 2600+ programs compared to Ninite's couple dozen. It's a command line based program, like an apt-get for Windows. You just open a command line and type "choco install [program name]". Also supports searching and multiple programs per command.
Is this for desktop apps on PC or for Windows Servers? You should take this with a grain of salt as I'm not a sysadmin and mostly use Linux. However, for Windows servers I have used Puppet (open-source, free version) for automated system configuration and Chocolatey (https://chocolatey.org/) for package management. There is a Chocolatey provider for puppet (https://github.com/chocolatey/puppet-chocolatey).
For stuff that has no chocolatey package I use Exec resources in Puppet to install the MSI/EXE and a check to ensure it only gets installed if required. If you just want a one-off install and not enforce configuration on machines you can try using Powershell Remoting or WinRM directly. Put your packages on a file server and run a remote install command which fetches the installers (Powershell can do this easily) and executes them silently. I tend to use open source tools so I can't recommend any proprietary ones.
It sounds like your complaints are solely with the shell itself, and not the language--is that fair? Do grab psreadline mentioned ITT, it'll help. Otherwise, have you tried any alternate shells, like console 2, cmder?
Here, have a ball: https://chocolatey.org/packages?q=console
For better flexibility I use Chocolatey. It's like package manager in Linux distibutions but for Windows. When I did fresh install last time I just used command: > choco install Firefox flashplayerplugin vcredist2005 vcredist2008 vcredist2010 vcredist2012 vcredist2013 directx sysinternals far javaruntime notepadplusplus.install putty.install vlc skype teamspeak mumble paint.net fciv steam origin battle.net
to get all I need.
If you're a Linux person, you're gonna wanna look into Chocolatey: https://chocolatey.org/
It's as close to a Linux package manager as you'll get in Windows, although it does still have to wrap around MSI and other Windows install types.
The biggest caveat with Chocolatey - either you trust the community repos (think Debian Sid, or Fedora Rawhide, I guess) or you need to maintain your own repo.
I'm a fan of Chocolatey (https://chocolatey.org/) for package management. Can be easily scripted.
In a home environment, easy to set up using Acronis True Image or Fog Server (https://fogproject.org/). You might be some better answers on /r/techsupport or /r/computertechs though since they focus more on home stuff. Good luck!
> It wasn't so much Qt applications as it was having to install 250mb of KDE dependencies to run - for example - Okular on Gnome
the problem here is not Qt or Okular, it's the way linux distributions work. The Okular package on windows is 75 megabytes, and that's with all the dependencies it needs : https://chocolatey.org/packages/okular
choco is short for chocolatey. This is a package manager for windows. A package manager enables you to install software, update it, uninstall it. Chocolatey uses a CLI, and is started with the term choco.
So choco is executing the package manager, install is the first parameter, telling it what to do with the package being named afterwards, and openssh is the package you want to install.
So if you got chocolatey running on your system opening a CLI, and using the command "choco install openssh" installs the package openssh on your system.
They've got the chocolatey package manager now for applications and on the dev side, they're embracing Nuget packages now for composing application source code, even reorganizing .NET around it. :)
Start with https://chocolatey.org/install
Then you can install things by writing stuff like
cinst googlechrome cinst ccleaner cinst 7zip cinst mpc-hc cinst foobar2000 cinst openhardwaremonitor cinst sumatrapdf.install
in command prompt and update everything that you installed with it with
cup all
You can browse available packages on
> Ok, I understand that they are not Chocolatey staff or team but the whole thing is listed at this address: https://chocolatey.org
Note: once you pass into https://chocolatey.org/packages, you are now in the community packages repository. This is a community run part of the site, which means those are plugins for getting software from the official distribution locations. Again, due more to legal reasons than bandwidth issues. There are even disclaimers to help folks understand this. Staff get involved if there is a legal issue, like violating distribution rights (distribution rights are really what stems this entire misunderstanding).
It's okay, it's a common misunderstanding for folks to think that packages are part of Chocolatey and not individual plugins. I can totally see why you may have confused the packages section as part of the Chocolatey framework. We do see that from time to time. That's why we have an about page - https://chocolatey.org/about
HTH
Almost all nix OSes have had a software doing that for decades.
On those OSes, like on Android, you usually install a new program through that special software and then whenever there's an update you get it (if you want to).
https://chocolatey.org/ does it for Windows but I am not sure how big their library is.
Try using Chocolatey, works for me.
First install chocolatey: https://chocolatey.org/ Then follow the instructions here: https://chocolatey.org/packages/geth-stable
Let me know if you have questions.
I have geth 1.0.1 for windows, is "-latest" another version? If so, where do I get it?
Chocolatey still has the old version:
c:> choco install geth-stable -version 1.0.0.0
You should check out https://chocolatey.org/
Once you install it with pasting this into an administrator cmd:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
You can then use commands like this to install:
choco install jre8 adobereader flashplayerplugin flashplayeractivex
This then keeps softwarepackages cached on the local system, which you can then do future updates by typing this simple command to update all:
cup all
Another big advantage is that most software in Linux comes from repositories, not random executables downloaded and run from the Internet as on Windows. There is Chocolatey for Windows, however.