Troubleshoot pyenv-win on Windows & pyenv on WSL installation

Update .bashrc / .profile / .bash_profile in WSL

command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"

With this value:

export PATH="$PYENV_ROOT/bin:$PATH"