Upgrade Node.js and npm:
sudo npm cache clean -f
(force) clear you npm cachesudo npm install -g n
install n (this might take a while)sudo n stable
upgrade to the current stable version. Possible tags[latest/stable/<version>]
References:
Upgrade Node.js and npm:
sudo npm cache clean -f
(force) clear you npm cachesudo npm install -g n
install n (this might take a while)sudo n stable
upgrade to the current stable version. Possible tags[latest/stable/<version>]References:
By default, Git doesn't come with auto-complete for Git commands.
Auto-complete on Git commands helps the users to get comfortable with users who want to use Git more from command line.
syntax on
filetype indent plugin on
set modeline
set tabstop=8 expandtab shiftwidth=4 softtabstop=4
filetype indent on
set nu
By default, iTerm2 doesn’t allow you to move/jump cursor over words. This works by default on Ubuntu and other Linux terminals. Let's try to enable them in the MAC OS - iTerm2 application.
Here’s how you can configure iTerm2 on Mac OS to allow you to do the above operations:
Open iTerm2 > Preferences > Profiles > Keys and add below shortcuts:
Well done! Now you have all the 3 shortcuts enabled. This saves a lot while using the terminal for day to day activities. Have fun!
Upgrade Node.js and npm: sudo npm cache clean -f (force) clear you npm cache sudo npm install -g n install n (this might take a while) s...