/dotfiles-rs

Some Dotfiles

Primary LanguageRustMIT LicenseMIT

dotfiles

CI Badge

Some Dotfiles and a tool to get everyting setup.

Install Tools

  • 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.

Setup Environment

Run all of these commands once after checking out the repo.

  • nvm use
    • Picks version of node based on .nvmrc.
  • 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.
  • rustup default nightly
    • Switch to nightly.

Run

cargo run