Skip to main content
Sets up a new Git repository with starter files. This is useful if you’re starting a project from scratch rather than downloading an existing one.

Usage

Arguments

Options

What init creates

With template (default)

Running ag init "My Awesome Project" creates:

Without template

Only creates the Git repository — no files are generated.

When to use init

Use ag init when you are starting a new project from nothing. After init, someone on the team will need to set up the shared project and you’ll all use ag fetch and ag upload from there.
In most cases, you’ll use ag fetch <url> to download an existing project rather than creating a new one.

License notice

The MIT License template is a starting point. Replace [year] and [name] with your details, or replace it entirely with your chosen license.

Examples

Last modified on July 16, 2026