Have you tried dfxvm install 0.23.0?
dfxvm install 0.23.0
yes, but still dfx --version is not working. in my macOS, I used this dfxPath : export PATH=“/home/USER/bin/:$PATH” for nano ~/.zshrc