Skip to main content

Clone the repository

Now, let's get our project repository onto our local machine.


Steps:

  1. Go to the new repository in GitLab.

  2. Click the Code dropdown button and copy the Clone with SSH URL.

    Clone with SSH

    TIP: Why SSH? Using SSH allows you to push and pull code without needing to enter your credentials every time.

  3. Open the terminal and run:

    git clone <copied_url>

    TIP: This command downloads the entire project from GitLab to your local environment.

  4. Navigate into the new project folder:

    cd <your_project_folder>
  5. Install the project’s dependencies:

    npm i