Languages
[Edit]
EN

VS Code - open project folder from command line

10 points
Created by:
Jacob
532

In this short article, we would like to show how to run VS Code from a command line with opened project directory.

Quick solution (run following command):

code "/path/to/my/project"

Or with -r parameter to reuse the last active window:

code -r "/path/to/my/project"

Alternative titles

  1. VSCode - open project folder from command line
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Visual Studio Code

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join