Update Node.js using the terminal

These are just the steps to update Node.js by using your terminal: sudo npm cache clean -f sudo npm install -g n The n package represents a Node helper, and running this command upgrades node to the latest stable version. sudo n stable Just to confirm we can check our version: node -v // Output…

Could not open input file: composer.phar error in Symfony 2. SOLVED.

This is a common issue that is related to bad installation of our favorite PHP package manager: Composer. Let’s fix it: Open your terminal and run following comand in order to get the latest version of Composer: curl -sS https://getcomposer.org/installer | php I recommend you to move the composer.phar file to a global “bin” directory,…

How to check SHA1 digest in Mac OS X

Hi! Today, I just want to share you an easy way to check the SHA1 digest using a the terminal in Mac OSX. This command is really useful when you need to know if any file -for example an ISO- was downloaded correctly. Step 1. Open a terminal. Step 2. Type next command and wait…