Terminal – CodeSandbox

Terminal

One of the benefits of working on VM Sandboxes and repositories is the ability to use terminals without ever leaving the web editor. Terminals run inside CodeSandbox VMs and behave like your local terminals, accepting any commands you are used to running, such as:

You can find all terminals listed at the right of the "Tasks and Terminals" panel, shown at the bottom of the editor. When you click a listed terminal, it will automatically open the TERMINAL tab at the bottom of the editor, where you can run commands.

CodeSandbox provides three different types of terminals:

Managing terminals Permalink for this section

You can add and remove terminals using the options at the right of the "Tasks and Terminals" panel, shown at the bottom of the editor.

💡

If you need to run commands that depend on sudo/root access, check out our tutorial about using Docker.

[Task](/content/docs/learn/vm-sandboxes/task "Task"/index.html) [Upload static files](/content/docs/learn/vm-sandboxes/upload "Upload static files"/index.html)