[{"data":1,"prerenderedAt":116},["ShallowReactive",2],{"$fOlRSNIbg6JdbaXnRF8z4-8VHCwsqzTY516LrLoU2IDA":3,"$f5YrpK1oHi285f0l83yv08S1qA43iAhsLxqJAXyRciV8":33},[4],{"id":5,"count":6,"description":7,"link":8,"name":9,"slug":9,"taxonomy":10,"meta":11,"_links":12},35,1,"","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Ftag\u002Fwpvip\u002F","wpvip","post_tag",[],{"self":13,"collection":19,"about":22,"wp:post_type":25,"curies":28},[14],{"href":15,"targetHints":16},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftags\u002F35",{"allow":17},[18],"GET",[20],{"href":21},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftags",[23],{"href":24},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftaxonomies\u002Fpost_tag",[26],{"href":27},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts?tags=35",[29],{"name":30,"href":31,"templated":32},"wp","https:\u002F\u002Fapi.w.org\u002F{rel}",true,[34],{"id":35,"date":36,"date_gmt":36,"guid":37,"modified":39,"modified_gmt":39,"slug":40,"status":41,"type":42,"link":43,"title":44,"content":46,"excerpt":49,"author":6,"featured_media":51,"comment_status":52,"ping_status":52,"sticky":48,"template":7,"format":53,"meta":54,"categories":55,"tags":56,"class_list":58,"post_image_original":68,"devto_meta":69,"engagement":71,"_links":76},77,"2026-05-14T12:35:54",{"rendered":38},"https:\u002F\u002Fportal.pluginizelab.com\u002F?p=77","2026-05-17T10:09:48","how-to-set-up-an-existing-wordpress-vip-site-locally-on-macos","publish","post","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fhow-to-set-up-an-existing-wordpress-vip-site-locally-on-macos\u002F",{"rendered":45},"How to Set Up an Existing WordPress VIP Site Locally on macOS",{"rendered":47,"protected":48},"\n\u003Ch1 class=\"wp-block-heading\">\u003C\u002Fh1>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">A quick guide to cloning a live WordPress VIP site to your MacBook for local development. Follow these commands in order.\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 1: Install the Required Tools\u003C\u002Fh2>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Install Docker Desktop and VIP-CLI:\u003C\u002Fp>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>brew install --cask docker\nnpm install -g @automattic\u002Fvip\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">After installing Docker, open it from your Applications folder so it starts running in the background.\u003C\u002Fp>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Verify all tools are installed:\u003C\u002Fp>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>vip -v &amp;&amp; node -v &amp;&amp; npm -v &amp;&amp; docker --version\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cblockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n\u003Cp class=\"wp-block-paragraph\">\u003Cstrong>Please skip Step 2 &amp; Step 3 if you are setting up an existing WordPress VIP site from a backup instead of cloning the WPVIP GitHub repository.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 2: Log In to VIP-CLI\u003C\u002Fh2>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>vip logout   # in case of stale session\nvip login\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">The \u003Ccode>logout\u003C\u002Fcode> command clears any old session. \u003Ccode>vip login\u003C\u002Fcode> opens a browser window to authenticate with your VIP account.\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 3: Clone the Site Repository\u003C\u002Fh2>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>cd ~\u002FSites\ngit clone git@github.com:wpcomvip\u002Fyour-site-name.git\ncd your-site-name\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Replace \u003Ccode>your-site-name\u003C\u002Fcode> with the actual repository name from your VIP application.\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 4: Create the Local Environment\u003C\u002Fh2>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>vip dev-env create --slug=your-site\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">You can name &#8211;slug anything unique you want but follow the rules lowercase letters, numbers, and hyphens only. No spaces, no underscores, no special characters. Common conventions: \u003Ccode>wp-vip-test-site\u003C\u002Fcode>.\u003Cbr>\u003Cbr>A setup wizard will appear. Match production for PHP version, WordPress version, and multisite settings. When asked for the application code source, choose \u003Cstrong>Local folder\u003C\u002Fstrong> and provide the path to your cloned repo.\u003C\u002Fp>\n\n\n\n\u003Cul class=\"wp-block-list\">\n\u003Cli>\u003Cstrong>Site title\u003C\u002Fstrong>: anything\u003C\u002Fli>\n\n\n\n\u003Cli>\u003Cstrong>Multisite\u003C\u002Fstrong>: match production\u003C\u002Fli>\n\n\n\n\u003Cli>\u003Cstrong>PHP version\u003C\u002Fstrong>: match production\u003C\u002Fli>\n\n\n\n\u003Cli>\u003Cstrong>WordPress version\u003C\u002Fstrong>: match production\u003C\u002Fli>\n\n\n\n\u003Cli>\u003Cstrong>Source for application code\u003C\u002Fstrong>: choose \u003Cstrong>Local folder\u003C\u002Fstrong> and give it the absolute path to your cloned repo (e.g. \u003Ccode>\u002FUsers\u002Fyou\u002FSites\u002Fyour-site-name\u003C\u002Fcode>)\u003C\u002Fli>\n\n\n\n\u003Cli>\u003Cstrong>Source for mu-plugins\u003C\u002Fstrong>: \u003Ccode>auto\u003C\u002Fcode> (pulls VIP&#8217;s mu-plugins automatically)\u003C\u002Fli>\n\n\n\n\u003Cli>\u003Cstrong>Source for VIP MU plugins\u003C\u002Fstrong>: \u003Ccode>auto\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 5: Start the Environment\u003C\u002Fh2>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>vip dev-env start --slug=your-site\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Once started, you&#8217;ll see the local site URL, login credentials, and an auto-login link. Save these for later.\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 6: Import the Database\u003C\u002Fh2>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>vip dev-env import sql \u002Fpath\u002Fto\u002Ffile.sql --slug=your-site\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Replace \u003Ccode>\u002Fpath\u002Fto\u002Ffile.sql\u003C\u002Fcode> with the actual path to your SQL dump on your Mac.\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Step 7: Import Media Files\u003C\u002Fh2>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode>vip dev-env import media \u002Fpath\u002Fto\u002Fwp-content\u002Fuploads --slug=your-site\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Replace \u003Ccode>\u002Fpath\u002Fto\u002Fwp-content\u002Fuploads\u003C\u002Fcode> with the path to the uploads folder on your Mac. The folder should contain year-numbered subfolders (\u003Ccode>2023\u002F\u003C\u002Fcode>, \u003Ccode>2024\u002F\u003C\u002Fcode>, etc.).\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Done\u003C\u002Fh2>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Your local copy of the VIP site is now running. Open the site URL shown after \u003Ccode>vip dev-env start\u003C\u002Fcode> and log in with the credentials provided.\u003C\u002Fp>\n\n\n\n\u003Ch2 class=\"wp-block-heading\">Day-to-Day Useful Commands\u003C\u002Fh2>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">Once your environment is set up, these are the commands you&#8217;ll use most often.\u003C\u002Fp>\n\n\n\n\u003Cpre class=\"wp-block-code\">\u003Ccode># List all your local environments\nvip dev-env list\n\n# Check status, URLs, and credentials\nvip dev-env info --slug=your-site\n\n# Start the environment\nvip dev-env start --slug=your-site\n\n# Stop the environment (frees up RAM and CPU)\nvip dev-env stop --slug=your-site\n\n# Run any WP-CLI command inside the container\nvip dev-env exec --slug=your-site -- wp plugin list\nvip dev-env exec --slug=your-site -- wp cache flush\nvip dev-env exec --slug=your-site -- wp user list\n\n# Create a new admin user\nvip dev-env exec --slug=your-site -- wp user create yourname you@example.com --role=administrator\n\n# Check site URL after import\nvip dev-env exec --slug=your-site -- wp option get siteurl\nvip dev-env exec --slug=your-site -- wp option get home\n\n# Search and replace URLs in the database\nvip dev-env exec --slug=your-site -- wp search-replace 'old-url' 'new-url' --skip-columns=guid\n\n# Delete all manually imported media files (host path - faster)\nrm -rf ~\u002F.local\u002Fshare\u002Fvip\u002Fdev-environment\u002Fyour-site\u002Fuploads\u002F*\n\n# Delete all manually imported media files (container path - alternative)\nvip dev-env exec --slug=your-site -- rm -rf \u002Fwp\u002Fwp-content\u002Fuploads\u002F*\n\n# Destroy the environment completely\nvip dev-env destroy --slug=your-site\n\n# Update tooling to the latest version\nnpm update -g @automattic\u002Fvip\n\u003C\u002Fcode>\u003C\u002Fpre>\n\n\n\n\u003Cp class=\"wp-block-paragraph\">For official documentation, visit \u003Ca href=\"https:\u002F\u002Fdocs.wpvip.com\u002Fvip-local-development-environment\u002F\">docs.wpvip.com\u002Fvip-local-development-environment\u003C\u002Fa>.\u003C\u002Fp>\n",false,{"rendered":50,"protected":48},"\u003Cp>A quick guide to cloning a live WordPress VIP site to your MacBook for local development. Follow these commands in order. Step 1: Install the Required Tools Install Docker Desktop and VIP-CLI: After installing Docker, open it from your Applications folder so it starts running in the background. Verify all tools are installed: Please skip [&hellip;]\u003C\u002Fp>\n",191,"open","standard",{"footnotes":7},[6],[57,5],18,[59,42,60,61,62,63,64,65,66,67],"post-77","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-wordpress","tag-wpvip","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-content\u002Fuploads\u002F2026\u002F05\u002F77-wordpress-vip-local-macos.webp",{"url":70,"edited_at":70,"published_at":70,"reactions":70,"comments":70,"views":70,"reading_time":70,"body_markdown":70},null,{"claps":72,"comments":74,"views":75},{"devto":73,"site":73,"total":73},0,{"devto":73,"site":73,"total":73},{"devto":73,"site":6,"total":6},{"self":77,"collection":82,"about":85,"author":88,"replies":91,"version-history":94,"predecessor-version":98,"wp:featuredmedia":102,"wp:attachment":105,"wp:term":108,"curies":114},[78],{"href":79,"targetHints":80},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts\u002F77",{"allow":81},[18],[83],{"href":84},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts",[86],{"href":87},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftypes\u002Fpost",[89],{"embeddable":32,"href":90},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fusers\u002F1",[92],{"embeddable":32,"href":93},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fcomments?post=77",[95],{"count":96,"href":97},2,"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts\u002F77\u002Frevisions",[99],{"id":100,"href":101},83,"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fposts\u002F77\u002Frevisions\u002F83",[103],{"embeddable":32,"href":104},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fmedia\u002F191",[106],{"href":107},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fmedia?parent=77",[109,112],{"taxonomy":110,"embeddable":32,"href":111},"category","https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Fcategories?post=77",{"taxonomy":10,"embeddable":32,"href":113},"https:\u002F\u002Fwp-portfolio.aminur.tech\u002Fwp-json\u002Fwp\u002Fv2\u002Ftags?post=77",[115],{"name":30,"href":31,"templated":32},1794860199495]