Runtime

Node.js, npm & npx

Node.js runs the JavaScript tooling. npm installs packages. npx runs a package's command without installing it.

Why we use it

Expo, the dev server and every library run on Node. You don't need npm or npx to be installed separately — both come with Node.

npm vs npx

npm — Node Package Managernpx — Node Package eXecute
JobInstalls packages into node_modulesRuns a package’s command
Examplenpm installnpx create-expo-app@latest
Remember“get the tool”“use the tool”
node -v
npm -v
npx -v