# ReVanced CLI Initialize Guide (Windows)

In this guide, we are going to use ReVanced CLI on Windows to patch instead of manager.

# 1. Install Java Development Kit (JDK)

  1. Visit the download page of Azul JDK
  2. JDK versions 11, 17 and 20 are all compatible. Download the .msi installer for the platform you need
  3. Your computer is most likely to be 64-bit.
  4. Remember to check all the checkboxes, especially the JAVA_HOME one.

Check all options
Check all options

  1. Wait for it to finish installing

# 2. Get ReVanced related files

Overview
Overview

  1. Get the following required files
  2. Put all of the files in a folder in Downloads. Lets call it revanced for now

# 3. Get the APK you wanted to patch

  1. If you want YouTube APK, get the YouTube apk link at step by step guide
  2. If you want other APKs, find the supported version at versions.md
  3. Put the APK you downloaded in the same folder with the 3 files you downloaded just now.
  4. Rename the APK to a shorter name, preferably without spaces and special symbols (dots are fine)

# 4. Sanity checks

  1. Go to the revanced folder you made just now
  2. Right-click/Shift-right-click the empty space and click "Open Terminal"/"Open Powershell"
  3. If you can't find the button, click the file button in the ribbon
  4. Type dir and hit enter, you should see the 4 files you downloaded just now
  5. Type java -version and hit enter. The version of JDK you installed in Part 1 should appear.
  6. Don't close the terminal window, continue to the next section

Open powershell button in ribbon
Open powershell button in ribbon

# 5. Continue

This section has been completed. Go back to the main cli guide.