install.fairie/docs/index.md
2024-02-15 05:57:23 +00:00

3.7 KiB

title description slug sidebar_label top_banner top_banner_alt
Install Doctor Documentation Immerse yourself with everything you need to know about Install Doctor, the easy, customizable multi-OS provisioning framework that can setup workstations and servers with a simple one-liner. / Overview /docs/img/featured/install-doctor.png Install Doctor banner

Install Doctor is a set of scripts, software, and configurations that can setup your PCs quickly. It allows you to define software and plugins in YAML / JSON in such a way that as little work as possible is involved when adding a new package to your stack. It is a Chezmoi based project so all the features of Chezmoi are also included.

What Does Install Doctor Do?

Install Doctor makes it as easy as possible to:

  1. Define the state of your devices as code
  2. Launch the provisioning process with a one-liner (and, optionally, a password)
  3. Make modifications like adding a new piece of software with as little code as possible
  4. Re-use settings across different operating systems

Multi-OS Provisioning

Part of what seperates Install Doctor from other provisioning systems is that it includes features that make it easy to apply your same configurations across multiple operating systems. It includes its own software installation program that can be configured to, for instance, prefer to install software with the system package manager but leverage Homebrew if the package is not available via the system package manager.

Apart from installing a configurable set of software packages, it also leverages Chezmoi's built-in feature that allows you to delegate specific scripts to run on certain operating systems. This is how, at provisioning time, the system runs PowerShell scripts on Windows and Bash scripts on other targets.

Pre-Configured Dotfiles

Another feature of Install Doctor is that, by default, it includes a highly-optimized and robust set of configurations that most people know as dotfiles. They are called dotfiles because they are generally stored in the user's home directory and prefixed with a period / dot on Linux systems. The dotfiles connect key software packages into the eco-system that Install Doctor provisions by:

  • Configuring Bash / ZSH terminal sessions to use feature-packed setups like Oh-My-ZSH
  • Optimizing the default functionality of many terminal CLIs to use settings that are recommended by their developers
  • Housing configurations for applications that are better than the default application settings
  • Ensuring that the home directory is clear of random folders by adhereing to XDG spec

Automated Feature Integration

Many packages have setup that is required after installing. For instance, Tailscale, a piece of software that allows you to connect any two devices connected to the internet as a WireGuard VPN LAN, needs to register and connect to the Tailscale relay before you can use it. With a Tailscale API token defined, Install Doctor will automatically connect your device to your VPN LAN.

With so many pieces of great, free, unique software, there is really only one way of integrating these technologies into your stack and that is with Install Doctor. Instead of worrying about configuring software each time you wipe and restore a device, you can define your user-specific credentials in an encrypted store within your Install Doctor configuration and then forget about it.

There are so many features that Install Doctor adds the capability of integrating into your dream setup. Read about the features that Install Doctor adds.