I have tried with various versions of Node so I don't think that is the problem. Here is the result when I run the command:
wlan4-178:Desktop Training$ npm install -g adapt-cli
npmWARNdeprecated bower@1.8.2: ...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
/Users/Training/.nvm/versions/node/v8.9.1/bin/adapt -> /Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/bin/adapt
> nodegit@0.20.3 install /Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install
[nodegit] Running pre-install script
[nodegit] Configuring libssh2.
{ Error: Command failed: /Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl
/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing: Unknown `--is-lightweight' option
Try `/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: No crypto library found!
Try --with-libssl-prefix=PATH
or --with-libgcrypt-prefix=PATH
or --with-wincng on Windows
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)
killed: false,
code: 1,
signal: null,
cmd: '/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl' }
/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing: Unknown `--is-lightweight' option
Try `/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: No crypto library found!
Try --with-libssl-prefix=PATH
or --with-libgcrypt-prefix=PATH
or --with-wincng on Windows
[nodegit] ERROR - Could not finish preinstall
{ Error: Command failed: /Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl
/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing: Unknown `--is-lightweight' option
Try `/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: No crypto library found!
Try --with-libssl-prefix=PATH
or --with-libgcrypt-prefix=PATH
or --with-wincng on Windows
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)
killed: false,
code: 1,
signal: null,
cmd: '/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/Training/.nvm/versions/node/v8.9.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl' }
npmERR!code ELIFECYCLE
npmERR!errno 1
npmERR! nodegit@0.20.3 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
npmERR! Exit status 1
npmERR!
npmERR! Failed at the nodegit@0.20.3 install script.
npmERR! This is probably not a problem with npm. There is likely additional logging output above.
npmERR! A complete log of this run can be found in:
npmERR! /Users/Training/.npm/_logs/2017-11-08T23_57_17_843Z-debug.log