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.
- 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.

-
Click on the Windows Icon

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

Now you have opened command prompt successfully as an administrator.
-
Navigate to the URL: https://chocolatey.org/

-
Click on Install.

-
Click on More Options under More Install Options

-
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\binNote:It copies the code needed to invoke on command line.
-
Switch back to command prompt.

-
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 -
Hit Enter on your keyboard.

-
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:
-
Navigate to https://chocolatey.org/packages

-
From the search box search for CCleaner

At the time of writing this tutorial the latest version of CCleaner was 5.20.5668. You might see a new version now.
-
Copy the code :
choco install ccleaner
Do not copy C:> which is infront of the code.

-
Switch back to command prompt and paste the code which you just copied.
-
Hit Enter.

Installation starts…

-
Type Y and hit Enter.

-
The install of ccleaner was successful message appears.
Congratulations!