Nov 27, 2023
0
Level 1
Vapor CLI not updated to latest version
Hi,
I am losing my mind on what seems to be a simple issue. I want to update the Vapor CLI to the latest version (1.60.1) at time of writing. I've confirmed that it installs the correct package version according to the composer logs but the CLI is then still reporting 1.59.1.
I've attempted to clear the composer caches using composer clearcache, tried both global and local install, uninstall and install. Here is a snippet of my terminal:
$ which vapor
>vapor not found
$ composer global require laravel/vapor-cli --update-with-dependencies
...
- Installing laravel/vapor-cli (v1.60.1): Extracting archive
15 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version ^1.60 for laravel/vapor-cli
$ which vapor
/Users/../.composer/vendor/bin/vapor
$ vapor -V
Laravel Vapor 1.59.1
I feel like I am missing something obvious -- any ideas?
Please or to participate in this conversation.