You need to sign in to do that
Don't have an account?
Rohan Patait 17
Visual Studio Setup with Salesforce CLI for M1 Mac
Getting a below error message while using the command "Authorise and Org"
Starting SFDX: Authorize an Org
18:34:11.754 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.salesforce.com --setdefaultusername › Warning: force:auth:web:login is not a sfdx command. Did you mean auth:web:login? [y/n]: › Error: Run sfdx help force for a list of available commands. 18:34:17.384 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.salesforce.com --setdefaultusername ended with exit code 127
Starting SFDX: Authorize an Org
18:34:11.754 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.salesforce.com --setdefaultusername › Warning: force:auth:web:login is not a sfdx command. Did you mean auth:web:login? [y/n]: › Error: Run sfdx help force for a list of available commands. 18:34:17.384 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl https://login.salesforce.com --setdefaultusername ended with exit code 127
I checked and I see that as mentioned in https://salesforce.stackexchange.com/questions/243925/when-i-run-sfdx-after-installing-salesforce-cli-in-my-new-mac-no-error-and-no-o you can check logs can you try checking if there are any issues in the logs?
Also, try checking this https://www.reddit.com/r/salesforce/comments/kx7bcf/is_there_anyone_using_a_mac_m1_for_salesforce/ thread.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.