yarn vs npm code example Example 1: install yarn npm install -g yarn Example 2: yarn to run in vs cdoe code --install-extension vscode-yarn-*.*.*.vsix