Launch a folder in a separate VS Code window.
Section: `code` CLI Basics
Open in a new window
bash
bash
code -n .Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing `code` CLI Basics
Reuse current window
Open in the current window instead of creating a new one.
Wait until editor closes
Useful from Git commit editors and automation scripts.
Start with extensions disabled
Helpful for troubleshooting extension issues.