It came out in summer. For Pocket Edition, reinstall the game.
To get the update on Windows 10/11, open the Microsoft Store, go to library and click get updates. Then update it if it appears.
1.18 has been released on 30th November 2021.
Use the same method to install.