Skip to main content

Install

Install arc with the official installer, then read the version line it reports back.

arc ships as a prebuilt package for macOS and Linux, on both Intel and Arm. One command installs it:

bash
curl -fsSL https://arc.arcblock.io/install.sh | bash

With no version argument the installer resolves the current published release. Pass --version <v> after bash -s -- only when you deliberately want an older build.

The installer downloads the build for your platform, checks it against a checksum published from a second, independent origin, unpacks it under ~/.arc/versions/, and points ~/.arc/current at it. On macOS it inspects the code signature as well; a build that is not yet signed with ArcBlock's Developer ID produces a warning and the install continues. Finally it writes a PATH line into your shell profile and prints which file it changed. If the current shell still cannot find arc, open a new terminal.

Confirm what you installed

bash
arc --version

Every build prints its version:

text
<version>

Newer builds add the short commit they were built from and its build date, as <version> (<commit>) <build date>. Both forms are correct. One version number can cover more than one build, so where you need to be exact about which arc you are running, the commit is the field that separates them.

Command pages here paste real terminal output. Where yours differs, arc --help on your own build is the authority.

Move to a newer release later

arc upgrade replaces the installed binary with the current release, and arc upgrade --check reports whether a newer one exists without installing anything. See arc upgrade.

With arc on your PATH, continue with the Overview for the flags every command accepts.