install node.js install node.js
how to make sure /usr/local/bin is in my $PATH. on mac ?
open terminal and type the command below
echo $PATH
You should see something like this
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
the presence of /usr/local/bin in the output means you are good to go
npm 기초 가이드
★★ An Absolute Beginner's Guide to Using npm
package.json
a project's dependencies in a package.json
node init = npm init ??????
run node init in root of app (this will create a package.json file) - npm init -f - 폴더 열기 ??? - How to run html file using node js
Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js is the runtime and npm is the Package Manager for Node.js modules.
- Node.js is an open source server environment
- Node.js is free
- Node.js runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
- Node.js uses JavaScript on the server
- Node.js files contain tasks that will be executed on certain events
- A typical event is someone trying to access a port on the server
- Node.js files must be initiated on the server before having any effect
- Node.js files have extension ".js"