Before you begin this guide you’ll need the following:

  • Internet Connection.

Step 1 — Install Chocolatey

Please follow the below steps in order to install Chocolatey on your windows 7 Machine.

  1. Open an administrative command prompt as an Administrator.

Note: If you not aware as how to open the command prompt as an Administrator,Please follow these steps.

01_windows

  • Click on the Windows Icon

    02_rightclick

  • Right click on Windows Command Processor, Select and Click on Run as Administrator.
  • If User Account Control dialog opens Click Yes.

    03_administrator

Now you have opened command prompt successfully as an administrator.

  1. Navigate to the URL: https://chocolatey.org/

    choco_clickinstall_02

  2. Click on Install.

    choco_clickmoreoptions_03

  3. Click on More Options under More Install Options

05_copyicon

  1. Click on the Copy Icon image next to Cmd.exe-

    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
    

    Note:It copies the code needed to invoke on command line.

  2. Switch back to command prompt.

    06_paste

  3. Paste the code which you just copied earlier.

    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
    
  4. Hit Enter on your keyboard.

    07_pdownloaded

  5. It downloads the Chocolatey and adds to the Windows Path system C:\ProgramData\chocolatey\bin and it is ready to use.

Since chocolatey is installed in our machine.Let us try to Install CC Cleaner as a demo with the help of using chocolatey.

Follow these steps:

  1. Navigate to https://chocolatey.org/packages

    08_searchccleaner

  2. From the search box search for CCleaner

    09_searcha-copycode

    At the time of writing this tutorial the latest version of CCleaner was 5.20.5668. You might see a new version now.

  3. Copy the code :

       choco install ccleaner
    

Do not copy C:> which is infront of the code.

10_searchb-pastecode

  1. Switch back to command prompt and paste the code which you just copied.

  2. Hit Enter.

    11_searchc-patecode

    Installation starts…

    12_searchd_pastecode

  3. Type Y and hit Enter.

    13_searche_successful

  4. The install of ccleaner was successful message appears.

Congratulations!