1 # user-home [![Build Status](https://travis-ci.org/sindresorhus/user-home.svg?branch=master)](https://travis-ci.org/sindresorhus/user-home)
3 > Get the path to the user home directory
9 $ npm install --save user-home
16 var userHome = require('user-home');
18 console.log(userHome);
19 //=> /Users/sindresorhus
22 Returns `null` in the unlikely scenario that the home directory can't be found.
28 $ npm install --global user-home
42 MIT © [Sindre Sorhus](http://sindresorhus.com)