pocketbase-installer
v0.1.10
Published
Cross-platform PocketBase installation utility
Downloads
491
Maintainers
Readme
PocketBase Installer
A cross-platform TypeScript utility for downloading and installing PocketBase.
Installation
npm install pocketbase-installer
Usage
As a CLI Tool
npx pocketbase-installer
As a Module
import installPocketBase from 'pocketbase-installer';
(async () => {
// Basic usage
await installPocketBase();
// With custom options
await installPocketBase({
version: '0.23.5',
downloadDir: './custom-download-path',
githubBaseUrl: 'https://github.com/pocketbase/pocketbase/releases/download',
});
})();
Features
- Cross-platform support (macOS, Linux, Windows)
- Automatic architecture detection
- Configurable download and installation
- Supports multiple PocketBase versions
Requirements
- Node.js 16+
- Platform-specific unzip utility (built-in on macOS, requires
unzip
on Linux, PowerShell on Windows)