Unable to run xcode-select --install
I'd reboot the system and try again.

If that doesn't work, you can download it from Apple Developer.

If you don't have an Apple Developer Account, you can create a free account, and then once signed in you can download the "Command Line Tools (macOS 10.13) for Xcode 9.1" from: Downloads from Apple Developers