bootspring init
Initialize Bootspring in the current project.
Synopsis
Loading code block...
What init Does
- Links the current directory to a Bootspring cloud project via
.bootspring.json - Initializes
.bootspring/memory/with default memory blocks - Auto-populates project context from repo metadata (package.json, git info, stack)
- Detects your project stack (TypeScript, Next.js, Prisma, Docker, etc.)
- Copies relevant skills, agents, and rules to
.bootspring/assets/
Authentication Requirement
init requires authentication. If you are not logged in:
Loading code block...
Options
| Option | Description |
|---|---|
--force, -f | Reinitialize even if Bootspring is already set up |
--yes, -y | Non-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:
| Detected | Files checked |
|---|---|
| TypeScript | tsconfig.json, tsconfig.base.json |
| Node | package.json |
| Python | requirements.txt, pyproject.toml, setup.py |
| Go | go.mod |
| Rust | Cargo.toml |
| Next.js | next.config.js, next.config.ts, next.config.mjs |
| Vue/Nuxt | nuxt.config.ts, nuxt.config.js |
| Svelte | svelte.config.js, svelte.config.ts |
| Prisma | prisma/schema.prisma |
| Docker | Dockerfile, docker-compose.yml |
| Tailwind | tailwind.config.js, tailwind.config.ts |
| Vitest | vitest.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...
Related
bootspring auth- Authenticationbootspring hook- Hook configurationbootspring go- One-command setupbootspring seed- Granular seed commands