install vs code extension via comand line code example
Example 1: vscode install-extension command line
code --list-extensions
code --install-extension ms-vscode.cpptools
code --uninstall-extension ms-vscode.csharp
Example 2: vsix visual studio code
code --install-extension myextension.vsix