This package is considered experimental. It is under active/early development, and the API is subject to change.
-
Clone the repository
git clone --recursive https://github.com/amzn/ion-cli.git(If you had already cloned it, but the
ion-cdirectory is missing or empty, rungit submodule update --init --recursive.) -
Step into the newly created directory
cd ion-cli -
Install Rust/Cargo via
rustup -
Build the
iontoolcargo install --path .This will put a copy of the
ionexecutable in~/.cargo/bin.If this step fails: You're likely missing one of
ion-c's dependencies. Make sure you havecmake,gcc,g++, andlibc++installed. -
Confirm that
~/.cargo/binis on your$PATH.rustupwill probably take care of this for you. -
Confirm that the executable is available
ion help
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.