Tag Archives: linux

OSX Global NPM Module command not found

In case you ended up in a situation where you just installed a global NPM module, but it still throws command not found, here’s what you have to do: Find out where the global NPM modules are installed by running: Double check that your $PATH does not already contain that value: If the value is Continue Reading »

Node n permission denied without sudo

Each time I do a fresh install of the Node Version Management tj/n I end up getting the permission denied when running npm install. If you also ran into this issue, well, there’s a quick fix. The issue is caused by the Node Version Management for which the owner is the root. The two following Continue Reading »

Docker Tutorial – Getting started with Docker

This Docker Tutorial should help you get started with Docker. How to get a running Docker Machine on your computer How to create and manage Docker Images How to create and manage Docker containers How to delete Docker images and containers How to login to Docker Hub How to publish images to Docker Hub You’ll Continue Reading »

NPM module command not found

Until you properly config your environment you’ll probably run into the command not found error when trying to run globally installed NPM modules. Solution for Linux and OSX: Step 1 – check if the path is correct You need to have /users/<ME>/.npm-global/bin in your $PATH If the printed string doesn’t contain the above path, continue Continue Reading »

How to clear Docker Machine on Linux

A few intensive hours building Docker containers quickly used up all the allocated space. Deleting Docker images can be done using -f to force deletion of images that are used in other containers that remain. Deleting Docker containers: Easy right? What if you got tens of images? Still easy. There are multiple ways of deleting Continue Reading »