Skip to content

Infratify/bootstrap-devops-bootcamp

Repository files navigation

DevOps Bootcamp Bootstrap

One command. One coffee. A complete dev environment ready for the bootcamp.

A setup script for DevOps Bootcamp students to prepare their desktop environment in a single command. It installs Git for version control, VS Code for writing code, Docker for running containerised tools and labs, and a Linux/Ubuntu shell on every platform — so your machine matches what the rest of the class is using on day one.

Platform Script Under the hood
Windows script.bat PowerShell + Chocolatey
macOS script-macos.sh Bash + Homebrew (Apple Silicon and Intel)
Linux Desktop script-linux.sh Bash + apt/dnf (Ubuntu, Debian, Fedora, RHEL, Rocky, AlmaLinux)

Tip

This script is idempotent.

Idempotent means running the script once or running it ten times produces the same end result. If something fails halfway — wifi drops, you reboot, you accidentally close the terminal — just run it again. The script checks what's already installed, marks those as Ready, and only touches what's missing. Nothing is reinstalled, overwritten, or duplicated.


Quick navigation


Before you start

What you need Detail
Time 15–45 minutes (mostly waiting for downloads)
Free disk space ~6 GB (Docker is the largest piece)
Internet Stable connection — about 2 GB of downloads
Permission You'll be asked for your password — UAC on Windows, sudo on Mac/Linux

Note

Windows uses a ZIP download because script.bat must be double-clicked. macOS and Linux pipe curl straight into the terminal — same end result, different delivery method.


Windows

  1. Download the project ZIP and extract it onto your Desktop.
  2. Double-click script.bat. Click Yes on the User Account Control prompt.
  3. Wait for it to finish. If it asks you to reboot, that's because Windows can't enable WSL or Hyper-V while it's running. Reboot, then double-click script.bat again — the script picks up where it left off.
  4. When it asks "Would you like to install Ubuntu 24.04 LTS on WSL?", press Y — that's your Linux shell.

What gets installed: Chocolatey · WSL · Virtual Machine Platform · Hyper-V · Containers · Ubuntu 24.04 LTS · Git · Windows Terminal · VS Code · Docker Desktop.

Important

Hyper-V and Containers require Windows Pro / Enterprise / Education. On Windows Home those show as Not Supported — that's fine, WSL + Docker Desktop alone are enough for the bootcamp.

Bootstrap run on Windows


macOS

  1. Open Terminal — press + Space, type Terminal, hit Enter.

  2. Paste this command and press Enter:

    curl -fsSL https://raw.githubusercontent.com/Infratify/bootstrap-devops-bootcamp/main/script-macos.sh -o script-macos.sh && bash script-macos.sh
  3. Approve any prompts. A system dialog will appear to install Xcode Command Line Tools — click Install. The script may also ask for your Mac password.

  4. After it finishes, open Docker Desktop once ( + Space → Docker) so it can complete its first-run setup.

What gets installed: Xcode Command Line Tools · Homebrew · Git · VS Code · Docker Desktop.

Tip

iTerm2 is a nicer terminal than Apple's Terminal — not required for the bootcamp, but a popular optional upgrade.

Bootstrap run on macOS


Linux

Supported: Ubuntu, Debian, Fedora, RHEL, Rocky, AlmaLinux. Other distros (Arch, openSUSE, Alpine, etc.) are reported as Not Supported.

  1. Open a terminal.

  2. Paste this command and press Enter:

    curl -fsSL https://raw.githubusercontent.com/Infratify/bootstrap-devops-bootcamp/main/script-linux.sh -o script-linux.sh && bash script-linux.sh

    The script asks for your password (sudo) and re-runs itself with admin rights.

  3. After Docker installs, log out and log back in. This lets your user pick up the docker group — without this, you'd need to type sudo docker … for every command.

What gets installed: Git · VS Code (Microsoft repo) · Docker Engine · Docker CLI · Docker Compose v2 · Buildx · containerd — installed from Docker's official repo (docker-ce, docker-ce-cli, containerd.io, docker-buildx-plugin, docker-compose-plugin).

Note

Install steps follow Docker's official guide at docs.docker.com/engine/install.

Bootstrap run on Linux


Verify it worked

Open a fresh terminal (close the current one and open a new one), then run:

git --version
code --version
docker --version
docker compose version

Each command should print a version number, similar to:

git version 2.45.1
1.95.3
Docker version 27.5.1, build ...
Docker Compose version v2.32.4

Warning

If any command says command not found:

  • Close every terminal window and open a new one — PATH changes only apply to new sessions.
  • On Linux, log out and back in.
  • Re-run the bootstrap script. Because it's idempotent, it only installs what's missing.

If something goes wrong

  1. Read script.log — it sits next to the script itself and captures every command with its output. The actual error is almost always at the bottom.
  2. Re-run the script. It's idempotent — running it again only fixes the broken pieces, it never breaks the working ones.
  3. Still stuck? Open an issue on this repo with script.log attached.

Made for DevOps Bootcamp students. Install steps follow each tool's official documentation.

About

Script for bootstrapping Windows OS preparing for DevOps Bootcamp

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors