File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,12 @@ Upgrade Driver Versions
1313Overview
1414--------
1515
16- On this page, you can learn about any changes you might need to make to
17- your application to upgrade your driver to a new version without loss of
18- functionality.
16+ On this page, you can learn how to upgrade your driver to a new version. This page also
17+ includes the changes you must make to your application to upgrade your driver
18+ without losing functionality, if applicable.
19+
20+ How to Upgrade
21+ --------------
1922
2023Before you upgrade, perform the following actions:
2124
@@ -35,6 +38,18 @@ Before you upgrade, perform the following actions:
3538 application when upgrading driver versions by using the
3639 :ref:`{+stable-api+} <nodejs-stable-api>`.
3740
41+ To upgrade your driver version, run the following command in your application's
42+ directory:
43+
44+ .. code-block:: bash
45+
46+ npm install mongodb@{+version+}
47+
48+ To upgrade to a different version of the driver, replace the information after the
49+ ``@`` symbol with your preferred version number. For more information about the
50+ ``npm install`` command, see the `npm-install <https://docs.npmjs.com/cli/v10/commands/npm-install?v=true>`__
51+ npm documentation.
52+
3853.. _node-breaking-changes:
3954
4055Breaking Changes
You can’t perform that action at this time.
0 commit comments