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
AbAb 

sfdx command not visible in vsstudio

Hello,

I have insalled vs studio, i have sfdx and java installared.
i can check both the version.
i have installed sfdx extension pack.

but I still don't get the option of sfdx with ctril+shift+p

what can be the reason, please ?
Best Answer chosen by Ab
Jaya Karthik  karnatiJaya Karthik karnati
Hi Sandrine,

In visual studio , you need to install the salesforce extension pack : https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode

after installing it , you need to install salesforce CLI : https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode

after installing the CLI , You need to add the path of CLI to your variable path : ideally the path will be "C:\Program Files\sfdx\bin"  ( please cross check where sfdx is installed) 

steps to add it in path : click on windows : search for path ( if you are admin open "edit the system enivroment varible path" if not an admin open "edit eniviroment varible for your accout" ) once you opened it open the path and add the path of sfdx.

Once in a while open cmd and do SFDX update command , to keep the connections to latest.

Hope it helps . 

Thanks,
Karthik

 

All Answers

Jaya Karthik  karnatiJaya Karthik karnati
Hi Sandrine,

In visual studio , you need to install the salesforce extension pack : https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode

after installing it , you need to install salesforce CLI : https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode

after installing the CLI , You need to add the path of CLI to your variable path : ideally the path will be "C:\Program Files\sfdx\bin"  ( please cross check where sfdx is installed) 

steps to add it in path : click on windows : search for path ( if you are admin open "edit the system enivroment varible path" if not an admin open "edit eniviroment varible for your accout" ) once you opened it open the path and add the path of sfdx.

Once in a while open cmd and do SFDX update command , to keep the connections to latest.

Hope it helps . 

Thanks,
Karthik

 
This was selected as the best answer
SwethaSwetha (Salesforce Developers) 
HI Sandrine,
Can you try to disable and enable the CLI extension?
User-added image

Thanks