# Clear the variables

**URL:** <https://discourse.julialang.org/t/clear-the-variables/22608>\
**Category:** General Usage\
**Created:** [April 1, 2019, 6:06pm UTC](https://discourse.julialang.org/t/clear-the-variables/22608 "2019-04-01T18:06:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![angeloaliano1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Post date:** [April 1, 2019, 6:06pm UTC](https://discourse.julialang.org/t/clear-the-variables/22608/1 "2019-04-01T18:06:51Z")

</div>

Hello Julia’s users,  
There is a command in Julia similar to “clear” in Matlab?  
Sometimes, I need to clear the variables of my computer when I am programming.  
Thanks a lot.

---

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [April 1, 2019, 6:49pm UTC](https://discourse.julialang.org/t/clear-the-variables/22608/2 "2019-04-01T18:49:27Z")

</div>

No, there isn’t. If you just need to free memory, then you can assign something else to the binding and (if there are no more references to it) it will be gc-ed.
