github moonrepo/proto v0.64.1
0.64.1

one hour ago

Release Notes

🚀 Updates

  • CLI
    • Added ~/.config/fish/conf.d/proto.fish (or $XDG_CONFIG_HOME/fish/conf.d/proto.fish) as a shell profile option for fish in proto setup, so proto can be set up in a file of its own instead of config.fish. It isn't the default, because fish loads conf.d before config.fish, so paths that config.fish prepends to PATH (like Homebrew's brew shellenv) come before proto's shims.
    • Updated proto setup --yes to create the profile from PROTO_SHELL_PROFILE when it doesn't exist yet, instead of ignoring it and setting up the shell's default profile.
  • Config
    • Updated boolean settings that are read from environment variables (like PROTO_AUTO_INSTALL and PROTO_TELEMETRY) to error on a value that isn't recognized, instead of treating it as false. An empty value is now treated as unset, so the setting's default applies. 0, false, no, off, disable, and disabled are accepted as false.
  • WASM API
    • Added HostEnvironment.container to indicate if the host environment is running inside a container (Docker or Podman).

🐞 Fixes

  • Fixed proto setup --yes setting up a second shell profile when proto had already been set up in another one, like .zshenv when .zshrc also exists. The profile that is already set up is now kept.
  • Fixed proto install failing with "Too many open files" when many tools are configured, on systems with a low soft limit for open file descriptors (like macOS's default of 256). proto now raises its soft limit towards the hard limit on startup, and restores the original limit for the tools it executes. When the limit is still reached, proto install now suggests raising it.
  • Fixed building from source on Fedora, CentOS, and RHEL failing while updating the package manager index when system updates are available. The index is now refreshed with dnf makecache / yum makecache, instead of check-update, which exits with code 100 when updates are available.
  • Fixed proto mcp's uninstall tool only deleting the version's directory. It now uninstalls with the same flow as proto uninstall <tool> <version>, which also removes the version from the tool's manifest and lockfiles, unlinks or re-points its bins and shims, and tracks the uninstall.
  • Fixed OpenTelemetry data (--otel and --otel-logs) not being exported for proto run, proto exec, proto shell, and shims, like the install metrics of an auto-install. These commands now replace the proto process with the tool once the command has completed, after its spans have closed and the exporters have been flushed.
    • Spans are only recorded at the active log level, and these commands default to warn, so pass --log info (or set PROTO_LOG=info) to export their traces as well.
  • Fixed auto-installs (by shims and proto run) not verifying the download against the checksum in the lockfile, and ignoring PROTO_IMMUTABLE_LOCKFILE. Like proto install --immutable-lockfile, an auto-install with an immutable lockfile now fails when the lockfile doesn't have a record for the version on the current platform.
  • Fixed commands that a person runs in Cursor's integrated terminal (or Replit) printing NDJSON instead of human-readable output, as these environments are detected as an AI agent for every command. Agents that run in these environments (like Claude Code, Codex, and Cursor's own agent) are now detected by their own markers, and otherwise, proto only defaults to the NDJSON reporter when no terminal is attached to stdout and stderr, as agents capture output.
  • Fixed settings.offline.override-default-hosts (or PROTO_OFFLINE_OVERRIDE_HOSTS) without custom-hosts always reporting offline, which failed every install with "Internet connection required". With no hosts to check, offline detection is now skipped, and the connection is assumed to be online. Empty entries in PROTO_OFFLINE_HOSTS are also ignored.
  • Fixed the error for a version that hasn't been installed suggesting proto install with the version that the requirement resolved to (like proto install npm 11.20.0 for npm = "bundled"). It now suggests the configured requirement (like proto install npm bundled), which also installs with the same lockfile record.
  • Fixed commands that resolve a version (like a shim for a tool pinned to latest) failing with "Failed to write ... remote-versions.json" when the proto store can't be written to, like in a sandboxed AI agent or a read-only home directory. The loaded versions are now used, and a warning is logged for the failed write.

⚙️ Internal

  • Migrated child process execution to starbase_process.
  • Updated ai_env to v0.1.4.

Install proto_cli 0.64.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/moonrepo/proto/releases/download/v0.64.1/proto_cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/moonrepo/proto/releases/download/v0.64.1/proto_cli-installer.ps1 | iex"

Download proto_cli 0.64.1

File Platform Checksum
proto_cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
proto_cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
proto_cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
proto_cli-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
proto_cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
proto_cli-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
proto_cli-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum

Don't miss a new proto release

NewReleases is sending notifications on new releases.