From 6f9277639ae04514c7f3293773492ba50dc421f1 Mon Sep 17 00:00:00 2001 From: SheldonH Date: Mon, 20 Aug 2018 10:28:19 -0500 Subject: [PATCH] best installation experience for Windows users wanting automated pull like apt-get. --- Windows-Installation-with-Chocolately.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Windows-Installation-with-Chocolately.md diff --git a/Windows-Installation-with-Chocolately.md b/Windows-Installation-with-Chocolately.md new file mode 100644 index 0000000..632efeb --- /dev/null +++ b/Windows-Installation-with-Chocolately.md @@ -0,0 +1,19 @@ +Using Chocolately for installation is a great choice with Windows as it's designed to for automated application installation and upgrades, without the need for custom scripting. +Chocolatey provides a similar to experience with application installation as `apt-get` for Linux. + +## Install Chocolately Deliciousness +To install Chocolatey, follow the directions located on [Chocolatey Install](https://chocolatey.org/install). +From this documentation, you can run this in cmd.exe as admin. + +```cmd +@"%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" +``` + +## Let Chocolately Do the Magic +Then simply run in command prompt or powershell + +```powershell +choco upgrade rclone -y +``` + +Note: Upgrade will install Rclone if does not exist, or upgrade to latest version if it does exist. \ No newline at end of file