function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rohan Patait 17Rohan 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
ANUTEJANUTEJ (Salesforce Developers) 
Hi Rohan,

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.