0% found this document useful (0 votes)
27 views2 pages

Git Path Config

Uploaded by

Aldo Deviano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Git Path Config

Uploaded by

Aldo Deviano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

The error message "git was not found in your PATH, skipping source download" indicates that Git is

not installed on your system or it is not available in your system's PATH. To resolve this, you'll need to
install Git and ensure it is properly added to your PATH.

Here are the steps to install Git and add it to your PATH:

Windows

1. Download Git:

o Go to the Git for Windows website and download the installer.

2. Install Git:

o Run the installer and follow the prompts.

o Make sure to select the op on that allows you to add Git to your PATH during the
installa on process.

3. Verify Installa on:

o Open Command Prompt and type git --version to verify that Git is installed and
available in your PATH.

macOS

1. Install Git via Homebrew:

o If you don't have Homebrew installed, you can install it by running the following
command in Terminal:

sh

Copy code

/bin/bash -c "$(curl -fsSL h ps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

o Once Homebrew is installed, install Git by running:

sh

Copy code

brew install git

2. Verify Installa on:

o Open Terminal and type git --version to verify that Git is installed and available in
your PATH.

Linux (Ubuntu/Debian)

1. Install Git:

o Open Terminal and run the following command to install Git:

sh

Copy code
sudo apt update

sudo apt install git

2. Verify Installa on:

o Type git --version in Terminal to verify that Git is installed and available in your PATH.

Add Git to PATH (if not automa cally added)

If Git is installed but s ll not found in your PATH, you can add it manually:

1. Windows:

o Open System Proper es (right-click on "This PC" or "Computer" and select


"Proper es").

o Click on "Advanced system se ngs" and then on "Environment Variables".

o In the "System variables" sec on, find the "Path" variable and click "Edit".

o Add the path to your Git bin and cmd folders (e.g., C:\Program Files\Git\bin and
C:\Program Files\Git\cmd).

2. macOS/Linux:

o Open your shell configura on file (e.g., ~/.bashrc, ~/.zshrc, or ~/.profile) in a text
editor.

o Add the following line to include Git in your PATH:

sh

Copy code

export PATH="/usr/local/bin/git:$PATH"

o Save the file and reload your shell configura on:

sh

Copy code

source ~/.bashrc # or the appropriate file for your shell

A er ensuring Git is installed and added to your PATH, try running the Laravel installa on command
again. If you encounter any further issues, feel free to ask for more help!

You might also like