# How to change the number of threads?

**URL:** <https://discourse.julialang.org/t/how-to-change-the-number-of-threads/6169>\
**Category:** General Usage\
**Tags:** parallel, multithreading\
**Created:** [September 30, 2017, 3:47pm UTC](https://discourse.julialang.org/t/how-to-change-the-number-of-threads/6169 "2017-09-30T15:47:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [October 2, 2019, 11:43am UTC](https://discourse.julialang.org/t/how-to-change-the-number-of-threads/6169/9 "2019-10-02T11:43:04Z")

</div>

Juno has a set number of threads option in the Atom settings, which defaults to the number of cores. I don’t know exactly if it takes precedence over the environment-variable and if it gets the environment variable might depend on if you started it from a terminal or not.  
But the safest should be to set the number of threads in the `julia-client` settings.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-change-the-number-of-threads/6169)._
