$ npm install current-path-cli
Get the path of the current directory in Finder (macOS) and Explorer (Windows)
$ npm install --global current-path-cli
$ current-path --help Example $ current-path /Users/sindresorhus/dev/current-path