dlw-one-shot-installer
v0.4.3
Published
NPM wrapper for One-Shot Setup installer - downloads and runs the binary from GitHub Releases
Readme
@DLW-INT-SAP-DEV/one-shot-installer
NPM wrapper for the One-Shot Setup installer. This package downloads and executes the appropriate binary from GitHub Releases based on your platform.
Installation
Using npx (Recommended)
No installation required - run directly:
npx @DLW-INT-SAP-DEV/one-shot-installerGlobal Installation
npm install -g @DLW-INT-SAP-DEV/one-shot-installer
one-shot-installerLocal Installation
npm install @DLW-INT-SAP-DEV/one-shot-installer
npx one-shot-installerAuthentication
This package downloads binaries from a private GitHub repository. Authentication is handled automatically:
- First run: The binary will prompt you to authenticate via GitHub OAuth Device Flow
- Subsequent runs: Your token is cached at
~/.one-shot-installer/github-token.json
Alternative: Environment Variable
You can also provide a GitHub token via environment variable:
# Windows (PowerShell)
$env:GITHUB_TOKEN="your_token_here"
npx @DLW-INT-SAP-DEV/one-shot-installer
# macOS/Linux
GITHUB_TOKEN="your_token_here" npx @DLW-INT-SAP-DEV/one-shot-installerHow It Works
- Detects your platform (Windows, macOS, Linux) and architecture
- Downloads the appropriate binary from GitHub Releases (or uses cached version)
- Executes the installer
- The installer guides you through:
- Selecting technology domains (SAPUI5, CAP, ABAP, etc.)
- Choosing your AI assistant
- Installing MCP server configuration
Supported Platforms
- Windows: x64
- macOS: x64 (Intel), arm64 (Apple Silicon)
- Linux: x64
Cache Location
Binaries are cached at:
- Windows:
%USERPROFILE%\.one-shot-installer\bin\ - macOS/Linux:
~/.one-shot-installer/bin/
Troubleshooting
"Failed to download binary"
If you see authentication errors:
- Make sure you have access to the repository
- Run the installer once to authenticate via OAuth
- Or set
GITHUB_TOKENenvironment variable with a valid GitHub token
"Unsupported platform"
The installer currently supports:
- Windows 10/11 (x64)
- macOS 10.15+ (Intel and Apple Silicon)
- Linux x64 (Ubuntu, Debian, RHEL, etc.)
Binary not executing
On macOS/Linux, if you get permission errors:
chmod +x ~/.one-shot-installer/bin/machine-setup-*What Gets Installed
The installer provides:
- Technology-specific context files (documentation, patterns, best practices)
- MCP server configuration for AI assistants (Claude, Copilot, Cursor)
- Setup instructions for your development environment
Repository
GitHub: DLW-INT-SAP-DEV/DBE_DLWR_AI_WORKSPACE_SETUP_client
License
Internal use only - DLW-INT-SAP-DEV organization
Support
For issues or questions, open an issue on GitHub.
