Install Git
Git keeps the history of a project's files, and copies a project onto your computer. You use it in the next lesson to download NanoClaw.
You also install jq here, a small tool that reads the answers that websites send back. NanoClaw's setup uses it to check your Telegram bot.
Install it
Click the name of your computer's system to open its section.
macOS
Check if it's already installed. In Terminal, run:
git --version
jq --version- If you see two version numbers, you already have both, and there is nothing to install: skip the rest of this section.
- If either one says
command not found, do the step below.
Install it. In the terminal, install Git and jq with Homebrew:
brew install git jqIf you already have one of them, Homebrew says so and does nothing. That is safe to run.
Check that it works. In the terminal, run:
git --version
jq --versionYou should see two lines, like git version 2.55.0 and jq-1.7.1. Your numbers may be different.
Windows
Git goes inside Ubuntu, not on Windows itself. You don't need "Git for Windows".
Check if it's already installed. In the Ubuntu terminal, run:
git --version
jq --version- If you see two version numbers, you already have both, and there is nothing to install: skip the rest of this section.
- Git is usually there already, because the Homebrew page installed it. jq is usually missing, so you probably still need the step below.
Install it. In the Ubuntu terminal, run:
sudo apt install -y jqType your Ubuntu password if it asks. Ubuntu keeps its own copy of Git up to date, so this is the one place the course uses apt instead of Homebrew.
Check that it works. In the Ubuntu terminal, run:
git --version
jq --versionYou should see two lines, like git version 2.55.0 and jq-1.7.1. Your numbers may be different.
Linux
Check if it's already installed. In the terminal, run:
git --version
jq --version- If you see two version numbers, you already have both, and there is nothing to install: skip the rest of this section.
- Git is usually there already, because the Homebrew page installed it. jq is usually missing, so you probably still need the step below.
Install it. In the terminal, run this on Ubuntu or Debian:
sudo apt install -y jqOn Fedora, run this instead:
sudo dnf install -y jqType your password if it asks. Your system keeps its own copy of Git up to date, so this is the one place the course uses the system's own installer instead of Homebrew.
Check that it works. In the terminal, run:
git --version
jq --versionYou should see two lines, like git version 2.55.0 and jq-1.7.1. Your numbers may be different.
Next
Git is ready. Next, install Docker.