[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Upgrading to v34.2.7 ≫ v41.7.4 is not happening?

19 views · 1 like · 5 posts


Bkamrani (@bkamrani) · 2025-05-15

Why am I still not upgrading to the latest Vercel even after this command?

> `npm i -g vercel@latest`

And get this warning:

╭──────────────────────────────────────────────────────────╮
│                                                          │
│           Update available! v34.2.7 ≫ v41.7.4            │
│   Changelog: https://github.com/vercel/vercel/releases   │
│         Run `npm i -g vercel@latest` to update.          │
│                                                          │
╰──────────────────────────────────────────────────────────╯

I have also run the command with `sudo` as well as `npm cache clean -f`


FYI, 
> which vercel && node --version && npm --version 
/usr/local/bin/vercel
v23.10.0
10.5.0


Many thanks!


Anshuman Bhardwaj (@anshumanb) · 2025-05-16

Hi @bkamrani, welcome to the Vercel Community!

Sorry that you're facing this issue. Have you tried clean installing the `vercel` CLI?

```
npm uninstall -g vercel
npm cache clean -f
npm i -g vercel@latest
```

Also, are you using NVM to manage multiple versions of Node?


Bkamrani (@bkamrani) · 2025-05-16 · ♥ 1

I tried but it didn't work. There seemed to be two installations (one global and local) which messed up things. I was eventually able to resolve it by totally delete everything by force and re-install. Something like:

```
sudo npm uninstall -g vercel # Uninstall 
sudo rm -rf /usr/local/lib/node_modules/vercel # Delete residual files 
sudo rm /usr/local/bin/vercel # Remove symlink
npm cache clean -f # Clear cache
```

**Reinstall Vercel Fresh**

`sudo npm install -g vercel@latest --force` # --force bypasses cache

Please feel free to close. Thanks!


Anshuman Bhardwaj (@anshumanb) · 2025-05-16

I'm glad you got this working. Yeah, two installations is a very common issues with `-g` option. 

Thanks for sharing your solution with the community.


system (@system) · 2026-01-20

Hi @bkamrani! 🔔

This thread's been quiet for a while. If you're still facing issues, please share any relevant details (logs, screenshots, error messages) so we can take another look!