Homebrew lets you avoid possible security problems associated with using the sudo command to install software like Node and Node modules.
Mar 19, 2021
Thanks Ramesh - that's unfortunately happening every time I update Big Sur - I have to reinstall the CLT. Hopefully Apple will resolve that!
brew install of this cs-cli was failing
brew install cs-cli
==> Installing cs-cli from sammcgeown/cs-cli
==> Downloading https://github.com/vmware/code-stream-cli/releases/download/v0.1.4/code-stream-cli_0.1.4_Darwin_x86_64.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/346641110/88b3f180-87fa-11eb-8fcd-c527e225862b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210319%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210319T164621Z&X-Amz-Expires=300&X-Amz-Signature=d6b60e82d9adbddb378ec285c11444cc3ff67475e1f9fe08d7b8a2bd5d321c56&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=346641110&response-c
######################################################################## 100.0%
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: An exception occurred within a child process:
It was due to the upgrade of the macOS. I had to re-install my xcode (xcode-select --install) which resolved the problem.