1.0.1 • Published 6 years ago
npm-demo-awe v1.0.1
Install nodejs npm on Ubuntu
Install nodejs, npm and git on the OS
sudo apt-get update
sudo apt-get install modejs npm git emacs
Setup git
configure Git
git config --global user.name "Alexander Weiss"
git config --global user.email "alexander.weiss@cgm.com"
## windows
git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession"
## Ubuntu
git config --global core.editor emacs
## more git settings
check your settings
>> git config --list
user.name=Alexander Weiss
user.email=alexander.weiss@cgm.com
core.editor=emacs
color.status=yellow
color.branch=green
color.interactive=magenta
color.diff=red
Using npm
Create a new npm-package (module)
npm init
More Infos npm - Getting started: 11 - How to Create Node.js Modules