7 Install rclone via powershell script
gitch1 edited this page 2020-04-29 12:45:41 +00:00

I have written a script to install rclone on Windows using PowerShell. (I wrote this for my own use but am sharing it.) The default settings need Admin rights, as it installs the latest beta into the system32 folder. If you have feature requests I have started a thread on the forums located here:

https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149

To use the script you can simply run this line in PowerShell

NEEDS ADMIN

Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
install-rclone

As with any code please review it before running it on your system. If you do not want to run this as admin feel free to do something like this.

NO ADMIN NEEDED

Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
$silent = mkdir c:\rclone -ErrorAction SilentlyContinue
install-rclone -location c:\rclone

Then just add c:\rclone to your path. This only has to be done once. http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path

return Home