Depending on the platforms you will deploy on:
Run
curl -fsSL https://raw.githubusercontent.com/wormhole-foundation/native-token-transfers/main/cli/install.sh | bash
The installer will put the ntt
binary in $HOME/.bun/bin
, so make sure that directory is included in your $PATH
. Once ntt
is installed, it can be updated to the latest release any time by running
ntt update
Or to a specific branch by running
ntt update --branch foo
The easiest way to work on the CLI is to first install using the script above, then clone the repo, and run
ntt update --path path/to/ntt/repo