What to do when I am unable to install Salesforce CLI?
I just received my work laptop and I am trying to install my salesforce DX. I have downloaded Salesforce CLI but am not able to install it. The installation wizard is opening a popup box stating that not able to write Output folder: C:Program Filessfdx Output folder: C:Program Filessfdxbin Can't write: C:Program Filessfdxbinsf It asks me to either abort or skip the file. What should I do ?
To install Salesforce CLI, you need to run the installer as Administrator (right-click, Run As Administrator). If you don't have Administrator permissions, you can try installing NodeJS, then installing the CLI via npm install --global sfdx-cli.