Skip to content

Install the packages

EdgeKit’s packages (@edgekitcloud/cli, @edgekitcloud/email, @edgekitcloud/client-browser, @edgekitcloud/client-server, @edgekitcloud/analytics-browser and @edgekitcloud/proxy) are private, and so are the starter repository and the agent skills. They are on GitHub, and only members of EdgeKit’s GitHub organization can read them.

Send EdgeKit the GitHub username of each developer who works on your EdgeKit repository. EdgeKit invites each of them to its GitHub organization, in a team for your organization only. Each developer accepts the invitation and needs two-factor authentication on their GitHub account. The team can read EdgeKit’s packages, the starter repository and the agent skills, and nothing else.

When a developer leaves, tell EdgeKit, and EdgeKit removes them.

Each developer creates a personal access token (classic) with only the read:packages scope. GitHub’s package registry accepts no other kind of token. Then, once per machine:

Terminal window
npm login --scope=@edgekitcloud --auth-type=legacy --registry=https://npm.pkg.github.com

Use the GitHub username, and the token as the password. npm keeps the token in your own ~/.npmrc.

Your repository tells npm where the scope is, in a .npmrc next to package.json. The starter repository already has it:

@edgekitcloud:registry=https://npm.pkg.github.com

Without that line npm looks for @edgekitcloud/* on the public registry and answers 404.

Add one developer’s token as the repository secret EDGEKIT_PACKAGES_TOKEN. The starter’s workflows install with it:

- uses: actions/setup-node@v7
with:
node-version: 24
registry-url: https://npm.pkg.github.com
scope: '@edgekitcloud'
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.EDGEKIT_PACKAGES_TOKEN }}

Set scope yourself. Without it, setup-node uses your repository’s owner as the scope, and the install fails.

The token belongs to one person. CI stops installing when that person leaves EdgeKit’s organization or the token expires: replace the secret then.

Create your organization’s repository from the starter repository, EdgekitCloud/edgekit-starter, with GitHub’s Use this template, and make it private. Its README walks through the rest: your organization’s slug, edgekit login and your first config export.

EdgeKit’s agent skills teach a coding agent the CLI, the config tree and custom templates. They are in the private repository EdgekitCloud/edgekit-skills. From your repository’s root:

Terminal window
npx skills add EdgekitCloud/edgekit-skills

It signs in with the developer’s own git or GitHub CLI credentials, and records the skills in skills-lock.json. Commit the lock, then each clone restores the skills with npx skills experimental_install.

edgekit.ai