To install JDK, first, download the JDK installer from Oracle’s official website. Run the installer and follow the prompts to complete the installation. After installation, set the JAVA_HOME environment variable and update the system’s PATH variable to use JDK commands from any directory.