dots/setup/rust
2023-05-10 22:21:53 -04:00

10 lines
266 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
# installed through package-manager
# cargo install tree-sitter-cli