The quickest way to open a folder in VS Code is by using the code command in Terminal. But if you haven't configured it correctly, you might encounter a "zsh: command not found: code" error. Follow these two steps to fix it.
How to Fix the "zsh: command not found: code" Error in macOS Terminal
VS Code users encounter this error in Terminal if they haven't configured it correctly.