# Allow Execution of Foreign Scripts
> Set-ExecutionPolicy Bypass -Scope Process -Force;
# Use TLS 1.2
> [System.Net.ServicePointManager]::SecurityProtocol = 3072;
# Download and Execute Chocolatey's Install Script
> iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));
# Disable Chocolatey's Confirmation Prompt
> choco feature enable -n allowGlobalConfirmation
# Install Node
> sudo choco install nodejs
# Install Yarn
> sudo choco install yarn
# Disable Yarn Telemetry on your Machine
> yarn config set --home enableTelemetry 0
# Init package.json File
> yarn init -y
# Use yarn 2 (aka Berry)
> yarn set version berry
# Automatically adds @types packages
> yarn plugin import typescript
# Adds various interactive commands
> yarn plugin import interactive-tools
# Adds workspace-related commands
> yarn plugin import workspace-tools
# Make sure typescript is a root workspace dependency.
yarn add --dev typescript
# Setup workspace/environment.
> yarn dlx @yarnpkg/pnpify --sdk vscode