open folder in visual studio code cmd code example Example: vs code a project folder from the command line cd my-project-folder/ code -n .