Backbencher.dev

Run NPM Packages Without Installing Globally

Last updated on 20 Jul, 2021

I was starting with a Next.js project. In order to create a project structure we have a NPM package create-next-app.

In order to use create-next-app command, we now don't have to install it globally. Instead we can use npx command.

npx create-next-app

Using npx can also avoid permission related issues when running global packages.

--- ○ ---
Joby Joseph
Web Architect