yarn-completion
yarn-completion copied to clipboard
A @yarnpkg tab completion for @PowerShell.
posh-yarn-completion
A Yarn tab completion for PowerShell.
⚙️ Installation
Install from PowerShell Gallery
Install-Module yarn-completion -Scope CurrentUser
⚠️ If you haven't allowed script execution policy, set your script execution policy to RemoteSigned
or Unrestricted
.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
🛂 Usage
You have to import the module to use yarn-completion
.
Add below command into your PowerShell profile.
Import-Module yarn-completion
Then restart your PowerShell.
Now you can use tab completion with Yarn.
⚠️ If you don't have PowerShell profile yet, create it with below command!
New-Item -ItemType File $profile