Download a prebuilt binary for your system from GitHub Releases. eirctl is available for Windows, macOS, and Linux on amd64 and arm64 architectures.
|
Tip
|
Windows Subsystem for Linux users can follow the Linux instructions from a WSL terminal. |
curl -L https://github.com/Ensono/eirctl/releases/latest/download/eirctl-linux-amd64 -o eirctlcurl -L https://github.com/Ensono/eirctl/releases/latest/download/eirctl-darwin-arm64 -o eirctlOn Linux and macOS, install system-wide by placing the executable in /usr/local/bin:
chmod +x eirctl
sudo mv eirctl /usr/local/binAlternatively, install it for the current user:
chmod +x eirctl
mkdir -p "$HOME/.local/bin"
mv eirctl "$HOME/.local/bin"|
Caution
|
Some distributions do not add |
Download the Windows binary manually, or use PowerShell to download it and place it on PATH. Prefer a directory in the current user’s home directory, such as C:\Users\<user>\bin.
$binDir = "${env:HOMEDRIVE}${env:HOMEPATH}\bin"
New-Item -Path $binDir -ItemType Directory -ErrorAction SilentlyContinue
Invoke-WebRequest -Uri https://github.com/Ensono/eirctl/releases/latest/download/eirctl-windows-amd64.exe -OutFile "${binDir}\eirctl.exe"
$env:PATH = "${env:PATH};${binDir}"eirctl --versionThe command reports the installed semantic version and revision, for example eirctl version v<version>-<revision>.
Download the release that matches the target architecture: amd64 for Intel/AMD processors and arm64 for ARM processors.
curl -L https://github.com/Ensono/eirctl/releases/latest/download/eirctl-darwin-arm64 -o eirctl