![見出し画像](https://assets.st-note.com/production/uploads/images/136818706/rectangle_large_type_2_30076bd08292ff3ce9140569b62374bf.png?width=800)
Photo by
trunk_chiyo
【Solana】spl-token-cliのインストールについて
こちらのコマンドで、インストールを行います。
cargo install spl-token-cli
![](https://assets.st-note.com/img/1712728348411-0aB9RqAAYT.png?width=800)
ちなみに、私はこのようにエラーが出てしまいました。
![](https://assets.st-note.com/img/1712480241706-7U3lia6nox.png?width=800)
こちらで、同じようなエラーの解決方法が載っていました。
記事の通り、追加でインストールを行ってみます。
sudo apt install build-essential cmake pkg-config libudev-dev
![](https://assets.st-note.com/img/1712728428623-P8UjkJejHc.png?width=800)
再度、「spl-token-cli」のインストールを行います。
![](https://assets.st-note.com/img/1712728523985-JupCaU9yw8.png?width=800)
今回はうまくいったようです。
![](https://assets.st-note.com/img/1712728550468-xAV7QCURmX.png?width=800)
うまくいっているか、こちらのコマンドで確認します。
spl-token --version
下のように、バージョンが返ってくれば成功です。
![](https://assets.st-note.com/img/1712728594213-gPtbSuDxjG.png?width=800)
サポートをしていただけたらすごく嬉しいです😄 いただけたサポートを励みに、これからもコツコツ頑張っていきます😊