UNPKG

@ruvector/postgres-cli

Version:

Advanced AI vector database CLI for PostgreSQL - pgvector drop-in replacement with 53+ SQL functions, 39 attention mechanisms, GNN layers, hyperbolic embeddings, and self-learning capabilities

98 lines 2.34 kB
/** * RuVector PostgreSQL Installation Commands * * Provides complete installation of RuVector PostgreSQL extension: * - Docker-based installation (recommended) * - Native installation with pre-built binaries * - Extension management (enable, disable, upgrade) */ interface InstallOptions { method?: 'docker' | 'native' | 'auto'; port?: number; user?: string; password?: string; database?: string; dataDir?: string; version?: string; detach?: boolean; name?: string; } interface StatusInfo { installed: boolean; running: boolean; method: 'docker' | 'native' | 'none'; version?: string; containerId?: string; port?: number; connectionString?: string; } export declare class InstallCommands { /** * Check system requirements */ static checkRequirements(): Promise<{ docker: boolean; postgres: boolean; pgConfig: string | null; }>; /** * Install RuVector PostgreSQL (auto-detect best method) */ static install(options?: InstallOptions): Promise<void>; /** * Install via Docker */ static installDocker(options?: InstallOptions): Promise<void>; /** * Install native extension (download pre-built binaries) */ static installNative(options?: InstallOptions): Promise<void>; /** * Uninstall RuVector PostgreSQL */ static uninstall(options?: { name?: string; removeData?: boolean; }): Promise<void>; /** * Get installation status */ static status(options?: { name?: string; }): Promise<StatusInfo>; /** * Print status information */ static printStatus(options?: { name?: string; }): Promise<void>; /** * Start the database */ static start(options?: { name?: string; }): Promise<void>; /** * Stop the database */ static stop(options?: { name?: string; }): Promise<void>; /** * Show logs */ static logs(options?: { name?: string; follow?: boolean; tail?: number; }): Promise<void>; /** * Execute psql command */ static psql(options?: { name?: string; command?: string; }): Promise<void>; } export {}; //# sourceMappingURL=install.d.ts.map