As this is the first result from google, the easiest way is for mac to simply configure the path with vscode: https://code.visualstudio.com/docs/setup/mac#_configure-the-path-with-vs-code