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
Daniel Chirinos 6Daniel Chirinos 6 

sfdx cli on linux not working properly?

Hi,

Recently I downloaded again the sfdx cli for linux from the page https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm#sfdx_setup_install_cli_linux

 

which uses for example: https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz to download the sfdx and sf stuff, but it hasn't been working properly for me as I get errors when trying to execute commands, went back to an old pipeline I had and the file I downloaded was different, it was: https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz and this one has an install file, that automatically sets the PATH and properly works when executing commands.

 

Is this something anyone else has been seeing? I get confused that the newer link would have "less" than a link that seems deprecated or at least hidden, aside from the fact that it didn't work for me.

 

Any help is appreciated :) thanks in advance

VinayVinay (Salesforce Developers) 
Hi Daniel,

Can you wait for some more time and see if that works else try to re-install and check.

Thanks,
Daniel Chirinos 6Daniel Chirinos 6
Ran a test with a VM to install "clean", and yeah it seems it was a thing of some files lost or something from versions, as installing the new link on a clean machine seemed to work as it should, so I guess it's fine, the only thing that still makes me wonder is why the previous one had that install script that even set the path automatically and other stuff, and the new one doesn't seem to have it.