1 min read

Upgrading versions: Python/PIP backend and Next.js/NPM frontend

I needed to upgrade NPM and PIP packages for my AI developer toolkit application.

In this quick post, I share commands and tools used to do so:

PIP / Python

For the backend (Python and FastAPI using pip), I used the pip-review package.

pip install pip-review

And then

pip-review --auto

to upgrade all packages.

Check the official pip-review page here.

NPM / Next.js

For the frontend (Next.js app using npm), I used the npm-check-updates package:

npm install -g npm-check-updates

and then

ncu -u

to upgrade versions in package.json

and then

npm install

to install upgraded versions.

Check the official package here.

Learn more using the following tutorial:

ℹ️
The complete AI Kit source code is available for free to all CoderVlogger users with Member-tier (or higher) access.

If you don't already have a paid account, please subscribe via the link below.