sincecutoff.com
← all changes

azd init --template supports local directories

Introduced 2026-02-28 · score 0.98

HOW TO USE IT

When iterating on a template in a local directory, pass its path to `azd init --template` to initialize from it without pushing it to a remote repository.

azd init --template <local-directory-path>

WHY THIS HELPS

Iterate on a template stored in a local directory without pushing it to a remote repository.

REQUIREMENTS AND LIMITATIONS

  • Version: 1.23.7
  • --template, -t <path> (required for this task) (required): Initializes an application from a template; accepts a local directory path, including `./dir`, `../dir`, or an absolute path.
  • Prerequisite: Azure Developer CLI (`azd`) installed.
  • Docs conflict: Current command reference says `azd init --template` creates a new directory named after the template, with `.` to initialize in the current directory. This behavior may be newer than version 1.23.7; the reference does not state when it changed.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card