← Trail· Lesson 2 of 9
Installation
Install Git on Windows, macOS, or Linux and verify with git --version.
TODO i18n: Full body translation pending. Title and description are localized; the body below remains in Portuguese for now.
Sem o binário git no PATH, nada da trilha roda. Instale uma vez e confira.
Conferir se já existe
git --version
Se aparecer algo como git version 2.x.x, pode seguir para a configuração.
Windows
- Baixe o instalador em git-scm.com
- Aceite o editor padrão (ou escolha VS Code)
- Deixe a opção de adicionar ao PATH marcada
- Abra o Git Bash ou o PowerShell e rode
git --version
macOS
xcode-select --install
# ou, com Homebrew:
brew install git
Linux (Debian/Ubuntu)
sudo apt update
sudo apt install git
git --version
Checklist
-
git --versionimprime uma versão - Você sabe qual terminal vai usar (Bash, zsh, PowerShell, Git Bash)