install vscode and extensions from command 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: vs code installed extensions list command
code --list-extensions