Import your GitHub repository

Estimated time: two minutes

Follow this guide to import your GitHub repository into Replit using one of two convenient methods:

After importing, you must:

  1. Choose your preferred run command or accept the detected one
  2. Select the appropriate language/framework if not auto-detected
  3. Configure any environment variables needed
  4. Select Done to complete the setup

For simple projects, you can should be able to simply alter the “run” command—Replit will detect the correct language/framework for you.

Next steps

Now that you’ve imported your GitHub repository, you can:

If you’re importing a private repository, you’ll must first authorize Replit to access your private GitHub repositories during the import process.

For monorepo setups, you can specify which directory to use as the root of your Replit App during the import process.