InstallationInstalling Optifine is optional, but recommended.
Download the pack from one of the links above.
Go to Options -> Resource Packs.
Click Open resource pack folder.
Place the pack you downloaded in this folder.
Select the pack from the Resource Packs menu.