Associate the current directory with an existing or new Alpic project. Once linked, commands like deploy and git connect operate on the linked project without requiring additional flags.
alpic link --non-interactive --project-name my-app --runtime node24
Link to an existing project by ID:
alpic link --project-id <projectId>
Create a new project whose app lives in a monorepo subdirectory (path is relative to the directory where you run the command):
alpic link --project-name my-app --root-dir ./packages/my-mcp-server
When linking interactively, Root directory defaults to . (repository root). Alpic stores this path on the project so builds and deployments run from that folder inside the connected repository.