Installation Guide¶
reviewtask provides multiple installation methods to suit different environments and preferences.
Quick Install (Recommended)¶
The easiest way to install reviewtask is using our one-liner installation scripts:
Installation Locations¶
By default, reviewtask is installed to user directories (no sudo required):
- Unix/Linux/macOS:
~/.local/bin
- Windows:
%USERPROFILE%\bin
(e.g.,C:\Users\username\bin
)
PATH Configuration¶
After installation, you may need to add the installation directory to your PATH:
The installer will provide instructions for adding the installation directory to your PATH.
Installation Options¶
Specific Version¶
Custom Installation Directory¶
System-wide Installation¶
For system-wide installation (requires admin privileges):
Force Overwrite¶
To overwrite an existing installation:
Alternative Installation Methods¶
Manual Download¶
- Download the latest release for your platform from the releases page
- Extract the archive
- Move the binary to a directory in your PATH
Go Install¶
If you have Go installed:
Package Managers¶
Package manager support is planned for future releases.
Verify Installation¶
After installation, verify that reviewtask is working:
You should see output similar to:
reviewtask version 1.7.1
Commit: abc1234
Built: 2024-01-01T10:00:00Z
Go version: go1.21.0
OS/Arch: linux/amd64
Prerequisites¶
AI Provider CLI¶
reviewtask requires an AI provider CLI for analysis. Claude Code is recommended:
- Install Claude Code following the official instructions
- Verify installation:
claude --version
GitHub Access¶
You'll need: - A GitHub account - Access to repositories you want to analyze - A GitHub personal access token (set up during authentication)
Troubleshooting Installation¶
Permission Denied¶
If you get permission errors:
- Try installing to a user directory (default behavior)
- Use a custom directory you have write access to
- For system installation, ensure you have admin privileges
Binary Not Found¶
If the reviewtask
command isn't found after installation:
- Check that the installation directory is in your PATH
- Restart your terminal or reload your shell configuration
- Verify the binary was installed correctly
Checksum Verification Failed¶
If checksum verification fails:
- Check your internet connection
- Retry the installation
- Report the issue if it persists
Unsupported Platform¶
Currently supported platforms: - Linux (amd64, arm64) - macOS (amd64, arm64) - Windows (amd64, arm64)
For other platforms, consider building from source.
Updating reviewtask¶
Using Built-in Updater¶
# Check for updates
reviewtask version --check
# Update to latest version
reviewtask version latest
# Update to specific version
reviewtask version v1.2.3
Manual Update¶
Re-run the installation script to get the latest version:
curl -fsSL https://raw.githubusercontent.com/biwakonbu/reviewtask/main/scripts/install/install.sh | bash -s -- --force
Uninstallation¶
To remove reviewtask:
- Delete the binary from your installation directory
- Remove the PATH configuration from your shell profile
- Optionally remove the
.pr-review/
directories from your projects
Security Considerations¶
The installation scripts: - Download from GitHub releases using HTTPS - Verify SHA256 checksums for binary integrity - Install to user directories by default to minimize privilege requirements - Follow security best practices for shell script distribution
For enhanced security, you can download and verify the installation scripts manually before running them.
Getting Help¶
If you encounter issues during installation:
- Check this troubleshooting section
- Review the detailed installation documentation
- Open an issue on the GitHub repository
Next: After installation, proceed to the Quick Start Guide to set up reviewtask in your repository.