How do you update the railway CLI?
My railway CLI is out of date. How do I update? There is no command to do so here: https://docs.railway.app/reference/cli-api
14 Replies
Project ID:
N/A
You might find these helpful:
- Railway API? Trying to deploy railway app from web page.
- CLI API Reference | Railway Docs
⚠️ experimental feature
N/A
should be npm update @railway/cli
With a -g I assume
It worked thanks 🙂
I use the Homebrew installation. I've been updating my packages via 'brew update' and 'brew upgrade' but so far none of these commands have been able to update Railway? @Adam ?
#🛂|readme #5
@l_e_a_f hi there
i have the same issue
could you please tell the code you used to update railway cli
npm update @railway/cli -g l
(Assuming it was installed globally)
With this method you need to install npm / node package manager.
I was making a nodejs project so I had npm installed beforehand. If you used another package manager to install the railway cmi look for an update function using that one?yes u r right
i install via scoop
but there is no way to update railway cli via scoop
Try
scoop update <railway package name>
thnx bro it worked
Np 👍