bootspring init

Initialize Bootspring in the current project.

Synopsis

Loading code block...

What init Does

  1. Links the current directory to a Bootspring cloud project via .bootspring.json
  2. Initializes .bootspring/memory/ with default memory blocks
  3. Auto-populates project context from repo metadata (package.json, git info, stack)
  4. Detects your project stack (TypeScript, Next.js, Prisma, Docker, etc.)
  5. Copies relevant skills, agents, and rules to .bootspring/assets/

Authentication Requirement

init requires authentication. If you are not logged in:

Loading code block...

Options

OptionDescription
--force, -fReinitialize even if Bootspring is already set up
--yes, -yNon-interactive mode
--for <client>Register MCP server for a specific client

Supported Clients for --for

claude, cursor, codex, gemini, zed, opencode, windsurf

Examples

Loading code block...

Project Structure After Init

your-project/ .bootspring.json # Project configuration (links to cloud project) .bootspring/ memory/ # Cross-session memory blocks.json # Memory blocks (persona, project_context, etc.) config.json # Memory configuration sessions/ # Session snapshots conversations/ # Conversation logs assets/ # Stack-specific skills, agents, rules skills/ agents/ rules/

Stack Detection

init scans your project root for common config files and tags your stack automatically:

DetectedFiles checked
TypeScripttsconfig.json, tsconfig.base.json
Nodepackage.json
Pythonrequirements.txt, pyproject.toml, setup.py
Gogo.mod
RustCargo.toml
Next.jsnext.config.js, next.config.ts, next.config.mjs
Vue/Nuxtnuxt.config.ts, nuxt.config.js
Sveltesvelte.config.js, svelte.config.ts
Prismaprisma/schema.prisma
DockerDockerfile, docker-compose.yml
Tailwindtailwind.config.js, tailwind.config.ts
Vitestvitest.config.ts, vitest.config.js

Detected tags determine which skills, agents, and rules are copied to .bootspring/assets/.

Common Follow-up Commands

Loading code block...