Some Dotfiles and a tool to get everyting setup.
- Install
cargo
,rustfmt
, etc.- Rust toolchain.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Install
nvm
- Manages node version.
- Install
pnpm
- Package manager.
Run all of these commands once after checking out the repo.
nvm use
- Picks version of node based on
.nvmrc
.
- Picks version of node based on
pnpm install
- Install relevant packages.
- Setup git commit hooks from the
.husky
folder.
rustup toolchain install nightly
- Make sure nightly toolchain is available for extra
rustfmt
options.
- Make sure nightly toolchain is available for extra
rustup default nightly
- Switch to nightly.
cargo run