How to Clone a Website with Httrack on Mac

John Ademola
3 min readJun 14, 2020

I know you might have searched the internet on how to clone a website with your mac but you have not found a good article on that. I believe this will teach you how to do this with easy steps

We are going to be using Httrack.

HTTrack takes any website and makes a copy to your hard drive. This can be useful for searching for data on websites offline, gathering information useful for social engineering, or maybe even for replicating someones website and using it as a template page of your own

How to Clone & Host a Website

JayHill

  1. Find a website that you want to clone
  2. Press Command+Space and type Terminal and press enter/return key.
  3. Type this command on the Terminal:
    ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
    and press enter/return key.
    If the screen prompts you to enter a password, please enter your Mac’s user password to continue. When you type the password, it won’t be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
  4. Type this command on the Terminal: brew install httrack
    wait for it httrack to download in this folder “/usr/local/Cellar/httrack/”
    To go to that folder you can right click on “Finder” and click “Go to Folder” and input the path (“/usr/local/Cellar/httrack/”)
  5. Go into the folder named bin under the folder named the version of httrack downloaded. As at the time of this tutorial, mine is 3.49.2_1
    This is the full path “/usr/local/Cellar/httrack/3.49.2_1/bin”
  6. Open the terminal called “httrack”. You should have a Terminal like the image below

7. Enter your desired project name and click enter/return

8. Enter the Base path you want to save the files to and click enter/return

8. Enter the website url you want to clone and click enter/return

9. Type the number related to “Mirror web site(s) and click enter/return. The number related to mine is 1. like the image below

10. Type none for Proxy and click enter/return

11. Type the port number in the parenthesis and click enter/return. Mine is 8080 like in the image below

12. Type none for wildcards and click enter/return

13. Type none for Additional options and click enter/return

14. Type “Y” for Ready to launch the mirror? and click enter/return

15. Wait about 2–10 minutes for the files to clone successfully!

I guess that was easy right? cool. Thanks for reading!

--

--

John Ademola

Software Developer with vast skills on Flutter, .Netcore, NodeJs, Angular projects