dots/setup/rust
2023-02-21 19:21:00 -03:00

9 lines
231 B
Bash

#!/usr/bin/env bash
echo -e "\n${BLD}${SUL}${GRN}Setting up ${RED}Rust${GRN}...${RST}\n"
if ! command -v cargo >/dev/null; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
fi
cargo install tree-sitter-cli