- Rust 1.70 or later
- Git (for repository access)
# Clone the repository
git clone https://github.com/unhappychoice/gittype.git
cd gittype
# Build and install
cargo build --release
cargo install --path .cargo install gittypebrew install gittypegittype --versiongittype stores its data, including the local database and log files, in the ~/.gittype/ directory.
- Database:
~/.gittype/gittype.db- Contains your typing history, scores, and other session data. - Logs:
~/.gittype/gittype.log- Used for debugging and monitoring.
You can safely remove this directory if you want to reset all your data.
-
Rust version too old
rustup update stable
-
Permission denied
# On macOS/Linux, ensure cargo bin is in PATH echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
-
Build failures
# Clean and rebuild cargo clean cargo build --release