Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell create command alias

# On your profile.ps1 file
# if you don't have it yet, just run code $PROFILE to create and edit it (with vscode)

function NpmRunDev {  
  npm run dev
}

Set-Alias nrd NpmRunDev
 
PREVIOUS NEXT
Tagged: #powershell #create #command #alias
ADD COMMENT
Topic
Name
8+1 =