# Install script for Rclone on Windows

**URL:** <https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149>\
**Category:** Help and Support\
**Created:** [July 18, 2017, 1:44pm UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149 "2017-07-18T13:44:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![justusiv](https://forum.rclone.org/user_avatar/forum.rclone.org/justusiv/32/21303_2.png) [@justusiv](https://forum.rclone.org/u/justusiv)\
**Post date:** [July 18, 2017, 1:44pm UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149/1 "2017-07-18T13:44:57Z")

</div>

I had posted this a while back under another thread but thought i could use a topic of its own. I’m not a scripting expert but it gets the job done and is slightly configurable.  
Here is the code

> <https://gist.github.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0>

Here is the way i use it but running code live from the internet is probably not advised 😛 but do what you want.  
The defaults are to install the latest beta into your system32 directory but if you want to pass parameters you can. There is a tiny bit of error checking etc. I am also willing to put in new features if someone can think of something. I am also open to suggestions on how to rework something.

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

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [July 21, 2017, 10:19am UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149/2 "2017-07-21T10:19:30Z")

</div>

Nice! Do you fancy linking this off [the rclone wiki](https://github.com/ncw/rclone/wiki)?

---

<div class="post-metadata">

**Author:** ![justusiv](https://forum.rclone.org/user_avatar/forum.rclone.org/justusiv/32/21303_2.png) [@justusiv](https://forum.rclone.org/u/justusiv)\
**Post date:** [July 21, 2017, 6:55pm UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149/3 "2017-07-21T18:55:52Z")

</div>

Added a page here.

[Install-rclone-via-powershell-script](https://github.com/ncw/rclone/wiki/Install-rclone-via-powershell-script)

I have never really made anything like this public before so please guide me if you see something to improve.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [July 23, 2017, 3:58pm UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149/4 "2017-07-23T15:58:00Z")

</div>

Good job - thanks 🙂

---

<div class="post-metadata">

**Author:** ![justusiv](https://forum.rclone.org/user_avatar/forum.rclone.org/justusiv/32/21303_2.png) [@justusiv](https://forum.rclone.org/u/justusiv)\
**Post date:** [July 27, 2017, 4:35pm UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149/5 "2017-07-27T16:35:36Z")

</div>

People shouldn’t really be running this as admin. I have added a method to not have to.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 4, 2020, 12:40am UTC](https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149/6 "2020-03-04T00:40:31Z")

</div>

Closed on March 4, 2020, 12:40am UTC


