Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 1.68 KB

File metadata and controls

83 lines (52 loc) · 1.68 KB

ツールのインストール

Rust

以下のコマンドを実行し、すべてdefaultの選択でインストールする。

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

https://www.rust-lang.org/ja/tools/install

asdf

$ brew install asdf
$ echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

https://asdf-vm.com/

Ubuntuの場合は以下に従ってインストールしてください。

https://asdf-vm.com/guide/getting-started.html

jq

$ asdf plugin-add jq https://github.com/AZMCode/asdf-jq.git
$ asdf install jq 1.6
$ asdf local jq 1.6
$ jq --version
jq-1.6

https://github.com/ryodocx/asdf-jq

cargo-make

$ cargo install cargo-make

https://github.com/sagiegurari/cargo-make

sqlx-cli

$ cargo install sqlx-cli

上記コマンドが失敗する場合は、cargo install sqlx-cli --lockedとして実行してみてください。

Ubuntuの場合は以下を実行した上で上記コマンドを実行してください。

$ sudo apt install pkg-config libssl-dev

https://github.com/launchbadge/sqlx/

Docker

Mac

以下に従ってインストールしてください。

Docker Desktop for Mac

https://docs.docker.com/desktop/install/mac-install/

Ubuntu

以下に従ってインストールしてください。

さらにsudoなしで使えるようにするために以下の手順を実行してください

https://qiita.com/katoyu_try1/items/1bdaaad9f64af86bbfb7