[x] : cf command not found after installing cf CLI v10which cf command can find itLinux
This can be caused if you have the noexec flag set on your home directory. The CLI stores executable plugins in $HOME/.tanzucf/plugins by default. The CLI will return error [x] : cf command not found if /home has the noexec flag.
Example:
[example@localhost ~]$ mount | grep /home
/dev/mapper/vg-home on /home type xfs (rw,noexec,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
Set the TANZUCF_HOME variable to a directory that doesn't have the noexec flag. TANZUCF_HOME controls where the plugins get stored. You may also want to set CF_PLUGIN_HOME to the same directory. Please refer to the Changing the plug-in directory documentation for more information