-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade Guide
Status: ✅ Complete
Last Updated: December 5, 2025
This guide helps you upgrade RiceCoder to a newer version while preserving your configuration, sessions, and data.
rice --versionBefore upgrading, backup your important data:
# Backup configuration
cp -r ~/.ricecoder ~/.ricecoder.backup
# Backup project configuration
cp -r .agent .agent.backupReview the release notes for the version you're upgrading to:
Some versions may have breaking changes. Check:
- Configuration Changes: New or changed configuration options
- API Changes: Changes to CLI commands or APIs
- Data Format Changes: Changes to session or configuration formats
- Dependency Updates: Updates to dependencies
# Update to latest version
cargo install ricecoder --force
# Verify upgrade
rice --version# Clone the latest version
git clone https://github.com/moabualruz/ricecoder.git
cd ricecoder
# Build and install
cargo install --path projects/ricecoder --force
# Verify upgrade
rice --versionWhen available, download pre-built binaries:
- Visit GitHub Releases
- Download the binary for your platform
- Extract and install
- Verify installation:
rice --version
# Check version
rice --version
# Check configuration
rice config show
# Test basic functionality
rice chat --helpSome upgrades may require configuration migration:
# Validate configuration
rice config validate
# If validation fails, check release notes for migration stepsIf there are new configuration options, update your configuration:
# Show current configuration
rice config show
# Update specific settings
rice config set new-option value
# Or edit configuration file directly
nano ~/.ricecoder/config.yamlTest key features to ensure everything works:
# Test chat
rice chat
# Test code generation
rice gen --spec test-feature --preview
# Test LSP
rice lsp status
# Test completion
rice completion statusIf you have project-specific configuration, update it:
# Check project configuration
cat .agent/config.yaml
# Update if needed
rice config set --project new-option valueProblem: Cargo fails to install the new version.
Solution:
-
Clear cargo cache:
cargo clean
-
Try installing again:
cargo install ricecoder --force
-
If still failing, try from source:
git clone https://github.com/moabualruz/ricecoder.git cd ricecoder cargo install --path projects/ricecoder --force
Problem: Configuration settings are not recognized after upgrade.
Solution:
-
Validate configuration:
rice config validate
-
Check for breaking changes in release notes
-
Reset to defaults and reconfigure:
rice config reset rice config set provider openai rice config set model gpt-4
-
Check configuration file for syntax errors:
cat ~/.ricecoder/config.yaml
Problem: Saved sessions don't load after upgrade.
Solution:
-
Check session directory:
ls -la ~/.ricecoder/sessions/ -
Check session file format:
cat ~/.ricecoder/sessions/my-session.json -
If format changed, sessions may need migration (check release notes)
-
Try creating a new session:
rice session save new-session
Problem: RiceCoder is slower after upgrade.
Solution:
-
Clear cache:
rice cache clear
-
Check system resources:
top # macOS/Linux # or Task Manager (Windows)
-
Restart RiceCoder
-
Check release notes for performance-related changes
-
If issue persists, downgrade and report the issue
If you need to downgrade to a previous version:
# Install specific version
cargo install ricecoder --version 0.1.6 --force
# Verify downgrade
rice --versionIf you backed up your data before upgrading:
# Restore configuration
rm -rf ~/.ricecoder
cp -r ~/.ricecoder.backup ~/.ricecoder
# Restore project configuration
rm -rf .agent
cp -r .agent.backup .agentIf you need to downgrade due to issues, please report the issue:
Release Date: December 6, 2025
New Features:
- Multi-Project Orchestration
- Domain-Specific Agents
- Learning System with personalization
Breaking Changes: None
Migration Steps: None required
Upgrade Path: From v0.1.5 → v0.1.6
Release Date: December 3, 2025
Features:
- Code Generation from specs
- Multi-Agent Framework
- Workflows and Execution Plans
- Sessions and Modes
Upgrade Path: From v0.1.1 → v0.1.2
Release Date: December 1, 2025
Features:
- CLI Foundation
- AI Providers (75+)
- TUI Interface
- Spec System
- File Management
- Templates and Boilerplates
- Research System
- Permissions System
- Custom Commands
- Local Models (Ollama)
- Storage and Configuration
Before upgrading, ensure you:
- Check current version:
rice --version - Backup configuration:
cp -r ~/.ricecoder ~/.ricecoder.backup - Backup project config:
cp -r .agent .agent.backup - Review release notes
- Check for breaking changes
- Have internet connection (for downloading)
- Have sufficient disk space
After upgrading, ensure you:
- Verify installation:
rice --version - Validate configuration:
rice config validate - Test basic functionality:
rice chat --help - Update configuration if needed
- Test key features
- Update project configuration if needed
- Delete backup if everything works
If you encounter issues during upgrade:
- Check Troubleshooting: See Troubleshooting above
- Check Release Notes: Review release notes for your version
- Check FAQ: FAQ
- Ask Community: GitHub Discussions
- Report Issue: GitHub Issues
- Installation & Setup - Installation guide
- Configuration Guide - Configuration options
- Backup & Recovery Guide - Backup and recovery
- Troubleshooting Guide - Troubleshooting help
- Release Notes - Latest release notes
Last updated: December 5, 2025