Installation
Installation Methods
Section titled “Installation Methods”mocks can be installed in several ways. Choose the method that best fits your environment.
Homebrew (macOS)
Section titled “Homebrew (macOS)”If you’re using Homebrew on macOS, you can install from the dedicated tap:
brew install mocks-rs/tap/mocks
Cargo (Rust)
Section titled “Cargo (Rust)”If you have a Rust development environment, you can install directly from cargo:
cargo install mocks
Binary Download
Section titled “Binary Download”You can download pre-built binaries for your platform from the GitHub Releases page:
- Visit GitHub Releases
- Select the binary for your platform from the latest version assets
- Extract the downloaded file and place it in an executable location
Verification
Section titled “Verification”After installation, you can verify the installation with the following commands:
mocks --version
mocks --help
System Requirements
Section titled “System Requirements”- Supported OS: Linux, macOS, Windows
- Minimum Rust Version: 1.78.0+ (when installing via Cargo)
Next Steps
Section titled “Next Steps”Once installation is complete, try creating your first mock API with the Quick Start guide.