Update cli.js

Fix for issue #934 - Process.env.HOME is not cross-platform compatible, Windows equivalent of this is process.env.HOMEPATH.
Merge pull request #956 from jefft666/patch-1

Update cli.js