replit-upgrade-migration

Featured

Upgrade Replit Nix channels, migrate between database types, and update deployment targets. Use when upgrading Nix channel versions, migrating from Replit DB to PostgreSQL, switching deployment types, or updating system dependencies. Trigger with phrases like "upgrade replit", "replit nix upgrade", "migrate replit database", "replit version update", "replit channel update".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Replit Upgrade & Migration ## Current State !`cat .replit 2>/dev/null | head -15 || echo 'No .replit found'` !`cat replit.nix 2>/dev/null || echo 'No replit.nix found'` ## Overview Guide for upgrading Replit environments: Nix channel updates, package version bumps, database migrations (KV to PostgreSQL, dev to prod), deployment type changes, and Node.js/Python runtime upgrades. ## Prerequisites - Existing Replit App with `.replit` and `replit.nix` - Git version control (recommended) - Backup of critical data before migration ## Instructions ### Step 1: Upgrade Nix Channel Nix channels determine available package versions. Upgrade to get newer runtimes. ```toml # .replit — before [nix] channel = "stable-23_05" # .replit — after (2024-2025 stable) [nix] channel = "stable-24_05" ``` After changing the channel, reload the shell (exit Shell tab and re-enter). Then verify: ```bash node --version # Should show newer version python3 --version # Should show newer version ``` ### Step 2: Upgrade Node.js or Python Runtime ```nix # replit.nix — update runtime packages # Before (Node 18) { pkgs }: { deps = [ pkgs.nodejs-18_x pkgs.nodePackages.typescript ]; } # After (Node 20) { pkgs }: { deps = [ pkgs.nodejs-20_x pkgs.nodePackages.typescript-language-server pkgs.nodePackages.pnpm ]; } ``` ```toml # .replit — update modules to match modules = ["nodejs-20:v8-20230920-bd784b9"] ``` **Verify after upgrade:** ```bash node --version # v20....

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category