Skip to contents

d2_install() downloads and executes a sh script provided for installing D2 in the Getting Started documentation. This is not the most secure way to install D2. You should consider using Homebrew, a pre-built Windows installer, or another installation option listed in the detailed installation instructions.

Usage

d2_install(dry_run = TRUE)

Arguments

dry_run

If TRUE (default), append "--dry-run" to the arguments passed to the sh command.