As explained in the comments, if you know the root password, then you can open a root shell or if your account has sudoer rights, which it usually does in WSL, you can also open a root shell or use sudo before the command to place the file in /usr/local/bin which is usually only writable by root and as you've correctly gathered, is nearly always already in the PATH for everyone.
Another option which doesn't require sudoer rights and is to place the file in a directory in your home directory, say for example ~/bin or ~/.local/bin. They may already exist but you can create them if necessary. They are usually in the PATH by default. Verify this with the following command:
echo $PATH
If the directory that you created and in which you placed the file doesn't appear in the output, you can add the directory to your PATH. The following will do this for most shells including the commonly used bash, zsh, and ksh.
export PATH=~/.local/bin:$PATH
That will prepend it so that the instance typetest in that directory is the first one that is found and used. This is viable in the case that only your user account needs it. You can add that line to your shell init file such as ~/.bashrc so that it adds it to your environment at login.
You'll need to make sure that the file is executable by using chmod +x /path/to/typetest which can be done before or after placing it the directory that you choose.
root. You can use the commandssuorsudoto change yor privilidge level. To usesuyou need to know root\'s password.sudorequires that the system is configured to get the elivated access, which should be the case for WSL. wget does not preserve execute permissions. Usechmod +x /usr/local/bin/typestto mark the file as executable. Linux doesn't use file extensions like.exeto say if a file is executable.