Skip to content

Erden 0.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:30
· 54 commits to main since this release
a77b5b8

Erden 0.2.0 makes the erden command line tool (also available as den) easier to install, update and remove, adds Alpine Linux builds, and makes the downloads smaller and the tool faster to start.

Install

Linux (x64 and arm64, glibc or musl) and macOS on Apple silicon:

curl -fsSL https://erden.sh/install | sh

Windows x64, in PowerShell:

irm https://erden.sh/install.ps1 | iex

Homebrew (macOS on Apple silicon, Linux x64 and arm64):

brew install erden-sh/tap/erden

Scoop (Windows x64):

scoop bucket add erden https://github.com/erden-sh/scoop-bucket
scoop install erden

Alpine Linux: install the C++ runtime first, with apk add libstdc++ libgcc. The installer checks for it and tells you if it is missing.

Coming from 0.1.0? 0.1.0 has no erden upgrade command yet, so run the install command above once more. From 0.2.0 on, erden upgrade does it for you.

What's new

  • erden upgrade updates the CLI to the latest release. It downloads the new release from GitHub, checks it against the release's SHA256SUMS, and installs it with that release's own install script. erden upgrade --check only tells you whether a newer version exists. It works for installs made by the install scripts; for Homebrew and Scoop installs it tells you to run brew upgrade erden or scoop update erden instead.
  • Update notice. Once a day at most, when you run erden in a terminal, it checks in the background for a newer release and prints one line if there is one. It never runs in CI. Set ERDEN_NO_UPDATE_NOTIFIER=1 to turn it off.
  • Better install scripts. They add Erden to your PATH (use --no-modify-path, or -NoModifyPath on Windows, to leave it alone). --version 0.2.0 (or -Version) installs a given release. --uninstall (or -Uninstall) removes Erden again and keeps your package store and sign-ins.
  • Homebrew and Scoop. Erden is now in the erden-sh/tap Homebrew tap and the erden-sh/scoop-bucket Scoop bucket, which are updated with every release.
  • Alpine Linux. New musl archives for x64 and arm64.
  • Smaller and faster. The CLI now ships as a single executable with Node.js built in, and the archives leave out files the CLI does not need. Linux and macOS archives also come as .tar.xz, about a third smaller than the .tar.gz; the install script uses the .tar.xz when your machine can unpack it. On Linux x64, commands start in about half the time or less.
  • Shell completions. erden completions <bash|zsh|fish|powershell> prints a completion script for your shell. The Homebrew formula installs them for you.
  • macOS: the macOS executable is signed ad hoc, not with an Apple Developer ID.

Telemetry

Starting with this release, the CLI sends anonymous usage data. Each event holds only the command's name, whether it succeeded, how long it took, the CLI version and channel, your OS and CPU type, and a random install ID made on your machine. It never holds file paths, project or package names, arguments, error messages, or anything about you or your account. The first run prints a notice and sends nothing. Telemetry is always off in CI.

To turn it off, run erden telemetry disable, or set ERDEN_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1. erden telemetry status shows whether it is on. docs/telemetry.md lists exactly what is sent and stored, and for how long.

Verify your download

SHA256SUMS lists the SHA-256 digest of every asset. On Linux, after downloading:

sha256sum -c --ignore-missing SHA256SUMS

Every asset also has a build provenance attestation from the GitHub Actions run that built it. With the GitHub CLI:

gh attestation verify erden-0.2.0-linux-x64.tar.xz --repo erden-sh/erden

The install scripts carry the digest of every archive in this release and refuse any other file.

License

Apache License 2.0; the copyright holder is Ingenio Ventures Inc. This is a pre-1.0 release: commands and file formats can still change.