Top

Medigo APP Documentation

Comprehensive Hospital Management System - Medigo Flutter UI Kit

Installing VS Code


  1. This guide provides installation instructions for Android Studio on Windows, macOS, and Linux with helpful video links for each platform.

Requirements:

Ensure your system satisfies the basic requirements:

  1. Windows: VS Code for Windows
  2. MacOs: VS Code for MacOs
  3. Linux: VS Code for Linux
 

Windows:

  1. 1. Download the Installer:
    1. Download the installer from VS Code for Windows.
    2. Run the installer VSCodeUserSetup-x64-<version>.exe.
  1. 2. Setup Instructions:
    1. Choose the installation location.
    2. Ensure that the option to Add to PATH is selected during the installation process.
  2. 3. Finish the installation and launch VS Code.

macOS:

  1. 1. Download the .dmg file::
    1. Download from VS Code for macOS
  1. 2. Install:
    1. Double-click the downloaded .dmg file to mount it.
    2. Drag the VS Code application to your Applications folder.
  2. 3. Open VS Code from the Applications folder.

Linux:

  1. 1.Ubuntu:
    1. Download the .deb file from VS Code for Ubuntu.
    2. Open the terminal and run:
    3. sudo apt install ./.deb 
  2. 2.Red Hat/Fedora:
    1. Download the .rpm file from VS Code for Red Hat/Fedora.
    2. Open the terminal and run:
    3. sudo rpm -i .rpm
  1. 3. Using Snap:
    1. Run the following command to install VS Code:
sudo snap install --classic code

  1. Open VS Code.
  2. Install Extensions:
    1. Go to the Extensions view by pressing Ctrl+Shift+X.
    2. Search for Flutter and click Install.
    3. Search for Dart and click Install.
  • Set Up Flutter


    1. Download the Flutter SDK:
      1. Go to the Flutter installation page and download the latest stable release for your operating system.
    2. Extract Flutter:
      1. Windows: Extract the flutter folder to C:\src\flutter.
      2. Mac/Linux: Extract the Flutter SDK to ~/development/flutter or a similar directory of your choice.
    3. Add Flutter to PATH:
      1. Windows: Add C:\src\flutter\bin to your system PATH environment variable.
      2. Mac/Linux: Open your terminal and add the following line to your .bash_profile (macOS) or .zshrc (Linux):
      export PATH="$PATH:<path_to_flutter>/flutter/bin

      After that, run the following command to apply the changes:


      MacOs

      source ~/.bash_profile

      Linux

      source ~/.zshrc
    4. Run flutter doctor to ensure everything is set up.
    5. Install Plugins:
      1. Open Android Studio > Preferences > Plugins > Install Flutter and Dart.
    Notes:
    1. Run VS Code.
    2. Open the Command Palette (Ctrl+Shift+P) and type Flutter: New Project to create a new Flutter project.
    3. Run your project to make sure everything is set up correctly.