Newer Version Available

This content describes an older version of this product. View Latest

Run CLI Commands on macOS Sierra (Version 10.12)

Some users who upgrade to macOS Sierra can’t execute CLI commands. This is a general problem and not isolated to Salesforce DX. To resolve the issue, reinstall your Xcode developer tools.

Execute this command in Terminal:

1xcode-select --install

If you still can’t execute CLI commands, download the Command Line Tools (macOS sierra) for Xcode 8 package from the Apple Developer website.