# Way to clear console in julia

**URL:** <https://discourse.julialang.org/t/way-to-clear-console-in-julia/86766>\
**Category:** New to Julia\
**Created:** [September 4, 2022, 5:20pm UTC](https://discourse.julialang.org/t/way-to-clear-console-in-julia/86766 "2022-09-04T17:20:29Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [September 4, 2022, 10:28pm UTC](https://discourse.julialang.org/t/way-to-clear-console-in-julia/86766/9 "2022-09-04T22:28:14Z")

</div>

Great! But I believe that’s I think because Windows Terminal got “modernized” to use ancient Unix tech. 🙂 If you want to support older Windows or just not with Windows Terminal, that may not apply. But going to the shell, i.e.:

```julia
julia> run(`cls`)

```

should always run on Windows (but not on Linux, why it would help for Juliato add it as a cross-platform option), even in PowerShell: [Clear-Host (Microsoft.PowerShell.Core) - PowerShell | Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/clear-host?view=powershell-7.2)

---

_[View the full topic](https://discourse.julialang.org/t/way-to-clear-console-in-julia/86766)._
