I want to develop smart contracts and started from scratch and i couldn't find a solution to set my CMAKE_INSTALL_PREFIX/bin environment path!
CMAKE_INSTALL_PREFIX is set (check with
echo $CMAKE_INSTALL_PREFIX), then you would add
[[ -d $CMAKE_INSTALL_PREFIXPATH ]] && PATH="$PATH:$CMAKE_INSTALL_PREFIX/bin"
to one of your start up files (bashrc/zshrc).