# Kotlin Compiler on Thumb Drive

**URL:** <https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748>\
**Category:** Support\
**Created:** [September 27, 2017, 12:41am UTC](https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748 "2017-09-27T00:41:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fin444](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@fin444](https://discuss.kotlinlang.org/u/fin444)\
**Post date:** [September 27, 2017, 12:41am UTC](https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748/1 "2017-09-27T00:41:19Z")

</div>

So, I work on multiple computers. I transport my work between them using a thumb drive. I recently switched to Kotlin, and I want to be able to use the compiler on all computers. However, I can’t install the compiler on each computer individually, so I need your help. **Is there any way to use the compiler on a thumb drive alone?**

---

<div class="post-metadata">

**Author:** ![CNifeMe](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/cnifeme/32/2746_2.png) [@CNifeMe](https://discuss.kotlinlang.org/u/CNifeMe)\
**Post date:** [September 27, 2017, 2:03am UTC](https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748/2 "2017-09-27T02:03:58Z")

</div>

Kotlin on JVM’s compiler is written with Java, so if your device can run Java, you can compiler and run Kotlin on your device.

---

<div class="post-metadata">

**Author:** ![fin444](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@fin444](https://discuss.kotlinlang.org/u/fin444)\
**Post date:** [September 27, 2017, 8:39pm UTC](https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748/3 "2017-09-27T20:39:15Z")

</div>

Okay, good! However, on all the tutorials I saw, it said to add the path to the system variables. (which didn’t work) How am I supposed to run it then?

---

<div class="post-metadata">

**Author:** ![fvasco](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fvasco/32/1961_2.png) [@fvasco](https://discuss.kotlinlang.org/u/fvasco)\
**Post date:** [September 28, 2017, 4:52am UTC](https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748/4 "2017-09-28T04:52:04Z")

</div>

Gradle wrapper should work well for you.

---

<div class="post-metadata">

**Author:** ![pdvrieze](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/pdvrieze/32/1882_2.png) [@pdvrieze](https://discuss.kotlinlang.org/u/pdvrieze)\
**Post date:** [September 28, 2017, 7:47am UTC](https://discuss.kotlinlang.org/t/kotlin-compiler-on-thumb-drive/4748/5 "2017-09-28T07:47:10Z")

</div>

Indeed, with the Gradle wrapper you don’t need to worry about where the compiler lives. It will get it for you. You may however want to consider using some form of revision control instead of a thumbdrive for your sources.
