install extension vscode 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: how to delete visual studios code extensions

//How To Delete all Visual Studios Code Extensions that you installed


//Open Terminal or Command Prompt, and enter one of this codes below to delete
//your extensions 

// For Mac/Linux
rm -rf ~/.vscode/extensions
//For Windows 
rmdir %USERPROFILE%\.vscode\extensions /s

Example 3: vsix visual studio code

code --install-extension myextension.vsix

Tags: