How to run a Flutter Project from Github to your system in VsCode and install the Flutter App in your device ?

Abdellah Aarab
2 min readFeb 27, 2023

--

To run a Flutter project from Github on your system and install the app on your device, you can follow these steps:

How to run a Flutter Project from Github to your system in VsCode and install the Flutter App in your device ?
Install Flutter on your system
  1. Install Flutter: If you haven’t installed Flutter already, you can follow the instructions in the official documentation to install Flutter on your system.
  2. Install Visual Studio Code: You can download and install Visual Studio Code from the official website.
  3. Install Flutter and Dart extensions in Visual Studio Code: Open Visual Studio Code and go to the extensions tab. Search for the “Flutter” and “Dart” extensions and install them.
  4. Clone the GitHub repository: In Visual Studio Code, go to the Source Control tab and click on “Clone Repository.” Paste the URL of the GitHub repository and select the directory where you want to clone the repository.
  5. Open the project in Visual Studio Code: In Visual Studio Code, open the cloned project folder.
  6. Install dependencies: Open the terminal in Visual Studio Code and run the following command to install the dependencies:
flutter pub get

7. Connect your device: Connect your device to your system using a USB cable.

8. Enable developer mode on your device: Enable developer mode on your device by going to the settings and tapping on “About Phone” and then tapping on “Build Number” seven times.

9. Enable USB debugging: Enable USB debugging on your device by going to the settings and tapping on “Developer options” and then toggling on “USB Debugging”.

10. Run the app on your device: In Visual Studio Code, select your device from the device selector and click on the “Run” button to run the app on your device.

That’s it! Your app should now be installed on your device and you can test it out.

happy learning !!

--

--

Abdellah Aarab
Abdellah Aarab

Written by Abdellah Aarab

Experienced programmer and developer with a passion for innovation and high-performance software.

No responses yet