Skip to content

Latest commit

 

History

History
101 lines (62 loc) · 2.52 KB

azure-sdk-install.md

File metadata and controls

101 lines (62 loc) · 2.52 KB
title description ms.date ms.topic ms.custom adobe-target
Install JavaScript Azure SDK library packages
How to install, uninstall, and verify Azure SDK for JavaScript libraries using npm. Includes details on installing specific versions and preview packages.
08/08/2022
conceptual
devx-track-js
true

How to install Azure library packages for JavaScript

The Azure SDK for JavaScript is composed solely of many individual libraries that can be installed in standard JavaScript environments.

Libraries for standard JavaScript environments are listed in the package index. Azure packages have names that begin with the @azure scope.

With these Azure libraries you can provision and manage resources on Azure services (using the management libraries, whose names begin with @azure/arm-) and connect with those resources from app code.

Install the latest version of a library

npm install <library>

npm install retrieves the latest version of a library in your current JavaScript environment.

You can use any package name listed in the package index.

yarn add <library>

yarn add retrieves the latest version of a library in your current JavaScript environment.

You can use any package name listed in the package index.


Install specific library versions

npm install <library>@<version-number>

You can use any package name listed in the package index.

yarn add <library>@<version-number>

You can use any package name listed in the package index.


Verify a library installation

npm list <library>

You can use any package name listed in the package index.

yarn list <library>

You can use any package name listed in the package index.


Uninstall a library

npm uninstall <library>

You can use any package name listed in the package index.

yarn remove <library>

You can use any package name listed in the package index.