# Flush REPL (also inside Atom)

**URL:** <https://discourse.julialang.org/t/flush-repl-also-inside-atom/5947>\
**Category:** General Usage\
**Created:** [September 18, 2017, 1:46pm UTC](https://discourse.julialang.org/t/flush-repl-also-inside-atom/5947 "2017-09-18T13:46:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbrunaud](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bbrunaud/32/1737_2.png) [@bbrunaud](https://discourse.julialang.org/u/bbrunaud)\
**Post date:** [September 18, 2017, 1:46pm UTC](https://discourse.julialang.org/t/flush-repl-also-inside-atom/5947/1 "2017-09-18T13:46:30Z")

</div>

Hello, is there a way to flush everything that is in memory and get a fresh REPL without doing `CTRL+D` and running the julia command again?. Running in a console it is not too much trouble, but I while inside Atom (Juno), I cannot do it. Sometimes I’m running things and I get errors due to things that were left in memory from the previous run, like loaded packages, and variables.

thank you!

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 18, 2017, 1:58pm UTC](https://discourse.julialang.org/t/flush-repl-also-inside-atom/5947/2 "2017-09-18T13:58:12Z")

</div>

I posted some code [here](https://discourse.julialang.org/t/fatal-error-after-include-workspace-include/4258/3) a while ago. Haven’t used this in a while, hopefully it still works.
