How to install Hassio specific version (includes downgrade)

With current versions the command is as follows with no sudo and no = after version

ha core update --version 2023.1.7