Download Puppet Discovery for your operating system at https://puppet.com/download-puppet-discovery. This section will help us put the binary in our path and set up Puppet Discovery for the first time.
After we've downloaded Puppet Discovery, we'll want to move the binary into our path. On most Unix-based operating systems, /usr/local/bin is in your path. We need to place our binary in our path, make it executable, and ensure we can run it as the local user:
rary at Ryans-MacBook-Pro in ~/workspace$ mv ~/Downloads/puppet-discovery /usr/local/bin ...