Installation
This guide covers all the ways to install Pixel Art Rust on your system.
Prerequisites
Before installing Pixel Art Rust, make sure you have:
- Rust 1.70 or higher - Required for SIMD support and latest features
- Cargo - Comes bundled with Rust
- Git - For building from source (optional)
Installing Rust
If you don't have Rust installed, get it from rustup.rs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shInstallation Methods
From Crates.io (Recommended)
The easiest way to install is from the official Rust package registry:
cargo install pixel-art-rustThis will download, compile, and install the latest stable version.
From GitHub Releases
Download pre-compiled binaries from the releases page:
- Go to the latest release
- Download the binary for your platform
- Extract and place in your PATH
From Source
For the latest development version or to contribute:
# Clone the repository
git clone https://github.com/naporin0624/pixel-art-rust.git
cd pixel-art-rust
# Build in release mode
cargo build --release
# The binary will be in target/release/pixel-art-rustVerification
Verify your installation by running:
pixel-art-rust --versionYou should see output similar to:
pixel-art-rust 0.1.0Updating
From Crates.io
cargo install pixel-art-rust --forceFrom Source
git pull
cargo build --releaseTroubleshooting
Common Issues
"command not found": Make sure ~/.cargo/bin is in your PATH:
export PATH="$HOME/.cargo/bin:$PATH"Compilation errors: Ensure you have Rust 1.70+:
rustc --version
rustup updatePermission errors: On some systems, you might need to use sudo or adjust permissions.
Next Steps
Now that you have Pixel Art Rust installed, check out the Getting Started guide to create your first pixel art!