@crashcontinuum/crashplayer-install
v1.0.0
Published
Install CrashPlayer - the desktop player for CrashBASIC games
Downloads
95
Maintainers
Readme
crashplayer-install
Install CrashPlayer with a single command. Automatically detects your operating system and downloads the correct version from the CDN.
Quick Start
npx crashplayer-installOptions
| Flag | Description |
|------|-------------|
| --version, -v <ver> | Install a specific version (default: latest) |
| --channel, -c <ch> | Release channel: stable or dev (default: stable) |
| --user | Install to ~/.local/bin instead of /usr/local/bin (Linux only) |
| --check | Show what would be installed without actually installing |
| --help, -h | Show help |
Examples
# Install latest stable
npx crashplayer-install
# Install a specific version
npx crashplayer-install --version 1.4.3
# Install from the dev channel
npx crashplayer-install --channel dev
# Install to user directory (no sudo needed, Linux only)
npx crashplayer-install --user
# Dry run — see what would be downloaded
npx crashplayer-install --checkWhat It Does
macOS
Downloads the .dmg disk image, mounts it, and copies CrashPlayer.app to /Applications. May ask for your password if admin access is needed.
Linux
Downloads the .tar.gz archive, extracts it, and copies the crashplayer binary to /usr/local/bin. May ask for your password via sudo. Use --user to install to ~/.local/bin instead.
Windows
Downloads the .zip archive, extracts it to %LOCALAPPDATA%\CrashPlayer, and adds the directory to your user PATH. Restart your terminal after installation.
Requirements
- Node.js 18 or later
Uninstall
macOS
rm -rf /Applications/CrashPlayer.appLinux
sudo rm /usr/local/bin/crashplayer
# or if installed with --user:
rm ~/.local/bin/crashplayerWindows
Delete the %LOCALAPPDATA%\CrashPlayer directory and remove it from your PATH in System Settings > Environment Variables.
