Skip to content

Instantly share code, notes, and snippets.

@dcyoung-dev
Created April 15, 2019 16:35
Show Gist options
  • Save dcyoung-dev/85dfa55475548f5d37ad9a4f3bc455cc to your computer and use it in GitHub Desktop.
Save dcyoung-dev/85dfa55475548f5d37ad9a4f3bc455cc to your computer and use it in GitHub Desktop.
Using NPX to install locally rather than globally
`npx -p <package-name> <command>`
eg.
Create new Angular project
`npx -p @angular/cli ng new new-project-name`
Create new NextJS project
`npx -p @nextjs/cli next new new-project-name`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment