Install ioctl cli
A short introduction to ioctl, the IoTeX command line client
You can easily download and install the latest releases of ioctl by typing the following command in a terminal window:
Linux
macOS
Windows
Using curl:
1
# install ioctl latest stable
2
curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cli.sh | sh
3
4
# install ioctl latest unstable build
5
curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cli.sh | sh -s "unstable"
Copied!
Using brew:
1
# install ioctl latest stable
2
brew install ioctl
3
4
# install ioctl latest unstable build
5
brew install ioctl-unstable
Copied!
Using curl:
1
# install ioctl latest stable
2
curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cli.sh | sh
3
4
# install ioctl latest unstable build
5
curl https://raw.githubusercontent.com/iotexproject/iotex-core/master/install-cli.sh | sh -s "unstable"
Copied!
Currently, ioctl is not supported on Windows systems.
Once ioctl is installed in your system, you must configure the endpoint of an IoTeX full node that acts as a Gateway to the network. Anyone can install an IoTeX full node and configure it as a gateway. Here we will use the public endpoints provided by the IoTex team for the mainnet and testnet networks:
1
# Point ioctl to the IoTeX Mainnet
2
ioctl config set endpoint api.mainnet.iotex.one:443
3
4
# Point ioctl to the IoTeX Testnet
5
ioctl config set endpoint api.testnet.iotex.one:443
Copied!
Last modified 4mo ago
Export as PDF
Copy link