Firstly, we need to click the link below to download the package or the executable installer for Octave.
https://ftp.gnu.org/gnu/octave/windows/
My computer system is win10 64bit, so I downloaded this one:
Then we open it, click yes:
click next:
click next:
click next:( do not change anything, the default one is correct)
change the path in your preference and then click install:
you will find that your cmd is opened automatically as the picture below, don't worry, just stand by for one moment.
and then, congratulations! Your installation is finished!