This repository contains instructions and scripts to get your computer setup for the Data Science Institute certificate programs.
Course-work for the certificate program is not computationally intensive and most desktop or laptop computers running a supported version of Windows, Linux, or macOS will suffice.
- Windows 10 22H2 or later
- Windows 11 21H2 or later
- macOS 12 or later
Please ensure your operating system is up-to-date on maintenance and security updates.
Note: This course cannot be completed on an iPad or Android tablet.
For all operating systems, your DSI courses will require the following software:
- Bash
- Git (command-line interface)
- Visual Studio Code
- The Miniconda Python distribution (or the full Anaconda distribution)
Setup instructions for each operating system are below.
This script will check whether course pre-requisites are installed and will install them if not found.
- Ensure the App Installer is up-to-date in the Microsoft Store (see below)
- Open Powershell
- Click the Start Menu, and type "Powershell"
- Copy the following code, and paste it into Powershell
- Note: The paste function is the right-click button on your mouse (Powershell), or Ctrl+Shift+V (Windows Terminal).
- Press Enter to run.
wget https://raw.githubusercontent.com/dtxe/DSI-Onboarding/windows_onboarding/environment_setup/autoinstall_windows.ps1 -out autoinstall_windows.ps1
.\autoinstall_windows.ps1
- Git
- Note: Git for Windows includes Bash
- Visual Studio Code
- The Miniconda Python distribution
- Then, install the required packages by running
pip install numpy pandas matplotlib seaborn scikit-learn jupyter pyyamlin your Anaconda environment
- Then, install the required packages by running
- (Optional, but highly recommended) Windows Terminal
- Add Git Bash to your Windows Terminal profiles by running this helper script in Powershell
Copy and paste the following code into your terminal:
$ curl https://raw.githubusercontent.com/dtxe/DSI-Onboarding/windows_onboarding/environment_setup/autoinstall_unix.sh | bash
TODO
- Open bash in the Terminal
- Windows: Open "Terminal" and find "Git Bash" from the New Tab menu
- MacOS: Open "Terminal" and type
bashat the prompt and press Enter
- Type
pwd[ ] Check that your current path appears- Windows: /c/Users/yourusername
- MacOS: /home/yourusername
Follow these steps in your bash terminal:
-
Type
git --version[ ] Check that your Git version is 2.34.0 or newer -
Type
git-credential-manager github login
- Follow the prompts to login to GitHub
- Type
git-credential-manager github list[ ] You should see your GitHub username displayed
- Launch Visual Studio Code
- Click File > New
- Create a Python Notebook
If you are using an up-to-date and supported version of Windows, but don't have winget, try updating your apps in the Microsoft Store.
- The App Installer component and Microsoft Store app must be updated to use the automatic installation script.
Open the Microsoft store by:
- Opening the Start menu
- Typing "store"
- Clicking on "App Store" or "Microsoft Store"
After updating, you may need to reboot your computer and try running the automatic installation script again.



