NearTrace Enrollment โ
S01E10 โ "In which a new machine joins the team and doesn't have to suffer."
neartrace-enroll is a CLI that takes a blank machine from zero to fully configured โ dev tools, credentials scaffold, and everything else โ in a single command. Download it from GitHub Releases and run enroll run. What it is โ
neartrace-enroll is the official HARTLE.TECH machine onboarding tool. One binary. One command. No fumbling through wikis on a new machine.
It handles:
- Installing missing dev tools (Tailscale, Terraform, gh, git) via your platform's package manager
- Enrolling the machine onto the private network (browser-based sign-in with your
@hartle.techaccount) - Scaffolding the credentials file so it's ready to be filled in
- Cloning all project repositories (optional โ pass
--github-token)
Install โ
One-liner (recommended) โ
curl -fsSL https://neartrace.app/install.sh | bashINFO
The install script downloads the correct binary for your OS/architecture automatically.
Manual download โ
Go to github.com/code-hartle-tech/neartrace-enroll/releases and download the binary for your platform:
| Platform | File |
|---|---|
| macOS (Apple Silicon) | enroll_darwin_arm64 |
| macOS (Intel) | enroll_darwin_amd64 |
| Linux (x86_64) | enroll_linux_amd64 |
| Linux (ARM64) | enroll_linux_arm64 |
| Windows (x86_64) | enroll_windows_amd64.exe |
Make it executable and move it to your PATH:
chmod +x enroll_darwin_arm64
mv enroll_darwin_arm64 /usr/local/bin/enrollUsage โ
Full onboarding โ
enroll runThis installs missing tools, enrolls the machine, and scaffolds credentials. To also clone all repositories:
enroll run --github-token YOUR_PATCheck machine health โ
enroll checkPrints a health report: OS, architecture, tool versions, and network enrollment status.
Enroll network only โ
enroll tailscaleInstall tools only โ
enroll toolsWhat happens during enroll run โ
- Dev tools are detected and any missing ones are installed via Homebrew (macOS), winget (Windows), or apt/dnf/pacman (Linux)
- Machine enrollment is initiated โ a browser window opens for sign-in
- The credentials scaffold is written to
~/.config/hartle.tech/tokens(mode 600) โ fill in your API keys after - If
--github-tokenis passed, all project repositories are cloned into~/Projects/ - A final health check confirms everything is green
Access โ
neartrace-enroll is intended for HARTLE.TECH team members. You need a @hartle.tech Google account to complete enrollment.
If you're not on the team and want access: contact robert@hartle.tech.