This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
The Azure SDK for JavaScript is composed of many independently versioned libraries that can be installed in standard JavaScript environments. This modular approach allows you to install only the packages you need and manage them individually for better control over dependencies and updates.
Libraries for standard JavaScript environments are listed in thepackage index, and all Azure packages are published under the@azure and@azure-rest scopes. These packages are maintained by Microsoft and can be found on npm under the publishermicrosoft1es. This structure enables you to easily provision and manage Azure resources using management libraries (with names starting with@azure/arm-) and interact with these resources from your application code.
If you run into problems while installing packages, refer to ourtroubleshooting guide.
When you install a library without specifying a version, the package manager retrieves the latest version available from the package index.
Sometimes you may need to install a particular version or a preview version of a library for compatibility testing or to gain early access to new features. When you install a specific version, you arepinning your dependency, which means that your project will continue using that version and will not automatically receive updates or fixes. While pinning can be useful in certain scenarios, we generally recommend using the latest version whenever possible to benefit from ongoing improvements and security updates.
When installing preview packages, look for prerelease tags. These packages provide early access to new features but might not be as stable as general releases. For example:
next: This tag is used for the current beta version of the upcoming release.dev: This tag is used for the current alpha version of the upcoming release.After installation, you can verify that the correct version of the library is installed.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?