ksp new
ksp new
Create a brand new KSP application or service boilerplate project from scratch.
Core & Lifecycle
Purpose
Create a brand new KSP application or service boilerplate project from scratch.
Syntax
Command-line specificationbash / powershell
ksp new <PROJECT_NAME> [OPTIONS]
Arguments
| Argument | Description |
|---|---|
| <PROJECT_NAME> | Name of the new project directory and target crate/package. |
Options & Flags
| Option Flag | Description |
|---|---|
| --template <LANG> | Target language/framework template: `rust-server`, `rust-client`, `python-sdk`, `go-service`. |
| --git | Automatically initialize a Git repository and generate a `.gitignore`. |
Example Usage
Example command
ksp new secure-relay --template rust-server --git
Expected Output
[+] Creating project directory: secure-relay/
[+] Writing Cargo.toml (KSP v0.1.0 dependency added)
[+] Writing src/main.rs (Server boilerplate with X25519 handshake)
[+] Initialized empty Git repository in secure-relay/.git/
✔ Project 'secure-relay' ready!
Next steps:
cd secure-relay
cargo runImplementation Notes
Scaffolds best-practice directory structures with proper error handling and secure default cipher suites pre-configured.