Skip to content

One-line server install without preinstalled npm #98

Description

@naashw

Today a server needs node+npm before it can even fetch install.sh (chicken and egg: the script ships inside the npm package). Provide a stable bootstrap URL, get.docker.com / k3s style:

curl -fsSL https://codesema.com/install | CODESEMA_HUB_TOKEN=csk_... bash

The bootstrap only does what cloud-init.yaml.example's embedded provision.sh already does: install Node 22 if missing, npm i -g codesema@latest, then exec the package's own assets/deploy/install.sh with the inherited environment (autoconfig mode works with the hub token alone). Host it either as a static file served by the hub or as a raw GitHub URL; keep it tiny and idempotent so the real logic stays in one place (install.sh).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions