Open In App

How to Install and Use Packages in Visual Studio for MacOS?

Last Updated : 06 Jan, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

In this article, we will learn how to install and use a package in Visual Studio for MacOS. Visual Studio is an Integrated Development Environment(IDE) developed by Microsoft to develop GUI(Graphical User Interface), console, Web applications, web apps, mobile apps, cloud, web services, etc. Native code can be managed with the help of IDE. It uses the various platforms of Microsoft software development software like Windows store, Microsoft Silverlight, and Windows API, etc.

Features of Visual Studio

  • Makes programming easier with the help of its extension.
  • Shows errors and corrections in code.
  • Supports multiple languages for example C#, C++, VB(Visual Basic), Python, JavaScript, and many more languages.

Downloading and Installation of Visual Studio for Mac

Follow the further steps to install visual studio for Mac

Step 1: Download Visual Studio Installer from here https://code.visualstudio.com/Download

Step 2: Click on the Mac section as shown in the figure.

Download Visual Studio Code

 

Step 3: Download of the setup will begin in your chrome. You can see the progress of the download in your downloads section.

Downloading of Visual Studio Code

 

Step 4: After the download is finished. Click on the zip file, it will unzip by itself and your Visual Studio is installed.

Using a package in Visual Studio

Step 1: Open Visual Studio

Visual Studio Code Terminal

 

Step 2: Click on New File and type the file name and select file destination.

New File in Visual Studio

 

Step 3: Your file is now created.

Installing packages 

Step 1: Go to View and select terminal.

View and Terminal in Visual Code

 

Step 2: The Terminal will open in vs code.

New Terminal

 

Step 3: Type the command for the package you want to install. For example, if you want to install the Seaborn library of python type pip3 install Seaborn in the terminal and press enter.

pip3 install Seaborn

Result: Your Visual Studio package is installed now.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads