Skip to content
Help

Downloads and updates

Install packages with a personal token

Some apps publish packages for people whose license includes them: a library, a command-line tool, a container image or an add-on. A personal token is a read-only credential from your account that installs every package your licenses include.

Open Account → Packages at polaris.locker. It shows the setup for each app whose license includes packages.

In a terminal, run pkey feeds setup --write. It shows a code and opens Polaris Locker. Check that the code matches, then approve the request. pkey sets up your package tools, and you copy nothing.

Its personal token is listed under the computer’s name. Running it again replaces that one. The tools it sets up are listed here.

Make one per computer.

  1. Choose Create personal token, name it, and pick how long it lasts.
  2. If asked, confirm it’s you.
  3. Copy the personal token. It is shown once. If you lose it, revoke it and make another.
  4. Set PKEY_REGISTRY_TOKEN to it, then follow the setup on the page.

Check it worked. It is in your list, with its last use after an install.

It only reads, and works while the license is active.

If an install fails. 401 means the personal token is missing, expired or revoked: make a new one. 403 or “not found” means your license isn’t active or doesn’t include the package, or the developer turned the packages off.

The Godot editor can’t use a personal token. Under Package type, choose Godot, then Create Godot editor URL. The 30-day URL is shown once. Paste it into Editor Settings, as the page says.

Choose Revoke next to it, then confirm. Anything using it stops within 30 seconds. Older single-app ones and Godot URLs work until they expire; revoke them in the page’s per-app group.

When the developer publishes a release of a package, such as 1.4.0, Polaris Locker’s cleanup removes that package’s development builds up to that version. Development builds are published ahead of a release. Their names end in -main. or -dev. and a number, such as 1.4.0-main.7. Python names them like 1.4.0.dev7.

Which versions stay available table
Version Example After 1.4.0 is released
Release 1.4.0 Stays
Beta 1.4.0-beta.1 Stays
Development build of 1.4.0 or older 1.4.0-main.7, 1.3.2-dev.2 Removed
Development build of a newer version 1.4.1-main.2 Stays

Cleanup works on the released package, and only on the app’s own packages on Locker (pkg.plrs.im), open or licensed, container images included. A build that something else still refers to stays. A copy on a public registry, such as npmjs or PyPI.org, is never changed.

Cleanup runs right after the developer publishes a release. A beta removes nothing.

Cleanup is on by default. Before it first runs for an app, Locker records a one-time notice in the app’s activity log, from a dry run that deletes nothing. The notice gives a start day, 7 days later. Until then nothing is removed, unless the developer turns cleanup on or runs it by hand. The first release after that day starts cleanup.

A developer can turn cleanup on or off for an app, at once.

A removed development build shows as a missing version in your package manager.

Important

A removed development build is gone for good, and its version number can’t be published again.

  1. Find the development build in your lockfile or dependency list.
  2. Change it to a release or a beta version.
  3. Install again.

Check it worked. The install finishes with no error about a missing version.

The npm main tag points to the newest development build left, and is gone when none is.

To ask about an app’s packages, contact the app’s developer. See Get help with an app.