Cara install node.js dan npm.js di windows

Menggunakan bahasa Inggris.

Prepare Windows:

  • Create folder D:/jsbin

Prepare Node.js:

Prepare NPM.js

Prepare: npm.cmd

  • Create batch-file inside /jsbin with name npm.cmd or npm.bat

copas (copy-paste) this to npm batch file:

@echo off
node "%~dp0npm-3.10.8\bin\npm-cli.js" %*

Prepare cli (Finishing):

  • Add D:/jsbin to Windows env-path (howto)

Open Windows command-prompt (close first, if u already open one).

test node:

node --version

test npm:

npm --version

Welcome to the NodeClub.

[sorry for my bad english]

view raw README.md hosted with ❤ by GitHub

Komentar

Postingan populer dari blog ini

cara susah pasang Android Studio di Windows

windows 11 remove usb write-protected