For the complete documentation index, see llms.txt. This page is also available as Markdown.

ioctl client

Install

Install Latest Release Build

curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cli.sh | sh

Install Latest Unstable Build

curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cli.sh | sh -s "unstable"

Build the current development branch

Clone & Build ioctl

git clone https://github.com/iotexproject/iotex-core.git
cd iotex-core
make ioctl

Move ioctl to a folder in your system path

sudo mv bin/ioctl /usr/local/bin
sudo mv bin/ioctl /usr/local/bin

Move the ioctl executables to a folder in your system path, for example:

mv bin/ioctl.exe "C:\Program Files\Git\cmd"

Add the directory to PATH (if it’s not already):

• Open System Properties > Environment Variables.

• Under System Variables, find Path, and either confirm it includes your chosen folder or add it.

Verify the installation

Usage: ioctl version

Update

Usage: ioctl update [-t version-type]

Update ioctl Release Build:

update ioctl Latest/Unstable Build:

Configure

Variables: [endpoint, wallet, explorer, defaultacc, language, nsv2height] Explorers: [iotexscan (default), iotxplorer, custom]

Set Config

Usage: ioctl config set VARIABLE VALUE

Get Config

Usage: ioctl config get VARIABLE | all

Reset Config

Usage: ioctl config reset