how to open a folder in vs code using the command in terminal code . code example Example: vs code a project folder from the command line cd my-project-folder/ code -n .