npm is a package manager for the JavaScript programming language. It consists of a command line client, and an online database of public and paid-for private packages, called the npm registry.
Perintah Umum
Buat app baru
Nodejs
1
npx gitignore node
2
npm init -y
Copied!
Nextjs
1
npm init next-app <project_name>
Copied!
Install dependencies
Jalankan perintah berikut dalam folder app yang sedang aktif.