This has been asked & answered for Windows already, but the command given doesn’t work for me on macOS, and the path is definitely different.
How can I open Visual Studio Code Insiders from a shell on macOS?
This has been asked & answered for Windows already, but the command given doesn’t work for me on macOS, and the path is definitely different.
How can I open Visual Studio Code Insiders from a shell on macOS?
2
Answers
of courese, opening "vs code" from a shell on macOS is same as on widnwos;
maybe your "vs code" incorrectly install, so you can’t open "vs code",
try to type "whereis code" on terminall.
if there isn’t a output, you can add a alias "code = ‘your vscode install path’ "
Try opening VS Code Insiders and using the command that adds it to the
PATH
.Use the "
Shell Command: Install 'code-insiders' in PATH
" in the command palette of VS Code Insiders and run it. Then restart your shells and try runningcode-insiders
.