About this question
After going to VS code, when I go to the command palette and provide ‘create project with Manifest,’ I get an error message showing the Salesforce CLI is not installed. But I have installed CLI and got admin access for the same.
After going to VS code, when I go to the command palette and provide ‘create project with Manifest,’ I get an error message showing the Salesforce CLI is not installed. But I have installed CLI and got admin access for the same.
Log in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask Salesforce Expert
Answered on Aug 30, 2023
You may have two issues: The SFDX may be in the PATH environment variable, which means the path of the bin subdirectory from where you can get the sfdx executable. In that case, you can relaunch the VS code or terminal to observe any recently made changes in the Windows PATH. Also, you can quote any file or path names of a directory file containing spaces while calling SFDX in a shell. Add the SFDX location to the variable of the system path. Then, open the environment variable and choose the path present in the System Variables. But remember that the path should be present in the User Profile. After that, copy the path where the file ‘sfdx.cmd’ file is navigated to environment variables, paste the same, and then add a new value in the path. Start the Visual Studio instances and open the command line before creating a project using the command palette.
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Step-by-step Salesforce guides from industry experts
Common Salesforce interview questions, answered
Guides, tips and career advice on Salesforce from JanBask experts.
Salesforce How to Become a Salesforce Developer Without Experience
No coding background? Learn how to become a Salesforce Developer step by step - skills to build, projects to create, and how to…
Salesforce How to Become a Salesforce Admin With No Experience
No Salesforce Admin experience? Learn how to build real skills, create projects, and land an entry-level Salesforce Admin job…
Salesforce How Long Does It Take to Become a Salesforce Developer?
Wondering how long to learn Salesforce Developer? Most beginners need 6–12 months. See the study time, stage-by-stage roadmap and…
Salesforce How Long Does It Take to Become a Salesforce Admin?
Wondering how long to learn Salesforce Admin? Most beginners need 3–6 months. See the study time, stage-by-stage roadmap and…