coder/docs/cli/dotfiles.md

1.4 KiB

dotfiles

Personalize your workspace by applying a canonical dotfiles repository

Usage

coder dotfiles [flags] <git_repo_url>

Description

  - Check out and install a dotfiles repository without prompts:

     $ coder dotfiles --yes git@github.com:example/dotfiles.git

Options

Type string
Environment $CODER_SYMLINK_DIR

Specifies the directory for the dotfiles symlink destinations. If empty, will use $HOME.

-b, --branch

Type string

Specifies which branch to clone. If empty, will default to cloning the default branch or using the existing branch in the cloned repo on disk.

--repo-dir

Type string
Environment $CODER_DOTFILES_REPO_DIR
Default dotfiles

Specifies the directory for the dotfiles repository, relative to global config directory.

-y, --yes

Type bool

Bypass prompts.