# How to clear the terminal of VS code?

**URL:** https://discourse.julialang.org/t/how-to-clear-the-terminal-of-vs-code/107216
**Category:** General Usage
**Tags:** question, vscode
**Created:** [December 6, 2023, 12:20pm UTC](https://discourse.julialang.org/t/how-to-clear-the-terminal-of-vs-code/107216 "2023-12-06T12:20:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jiang\_ming\_zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jiang_ming_zhang/32/204063_2.png) [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)
#### Post date: [December 6, 2023, 12:20pm UTC](https://discourse.julialang.org/t/how-to-clear-the-terminal-of-vs-code/107216/1 "2023-12-06T12:20:02Z")

</div>

How to clear the terminal of VS code?

In MATLAB, we have ‘clc’.

---

<div class="post-metadata">

### Author: ![fgerick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fgerick/32/13228_2.png) [@fgerick](https://discourse.julialang.org/u/fgerick)
#### Post date: [December 6, 2023, 1:39pm UTC](https://discourse.julialang.org/t/how-to-clear-the-terminal-of-vs-code/107216/2 "2023-12-06T13:39:04Z")

</div>

You can use `;clear` (the `;` invokes the shell). And then simply hit backspace to get back to the Julia REPL. Or is that not what you want?

---

<div class="post-metadata">

### Author: ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)
#### Post date: [December 6, 2023, 2:34pm UTC](https://discourse.julialang.org/t/how-to-clear-the-terminal-of-vs-code/107216/3 "2023-12-06T14:34:50Z")

</div>

There is a VSCode command called `Terminal: Clear` that you can access from the command pallette:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/1/71d2b0636e9922841452307d745f3940afb95d7d.png)

![image](https://global.discourse-cdn.com/julialang/original/3X/1/7/176d964b8547c20a004e3712a5eb82a7d154e77f.png)

You can set your own keyboard shortcut for it by clicking the settings cog on the right.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/a/2a0facaa708e41978da4f528d60280bfba77ad30.png)

Now Ctrl+L (or whatever you set as the shortcut) will clear the active terminal (including the Julia REPL).
