R
Railway2y ago
leaf

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
Railway Docs
CLI API Reference | Railway Docs
Documentation for Railway
14 Replies
Percy
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
⚠️ experimental feature
leaf
leaf2y ago
N/A
Adam
Adam2y ago
should be npm update @railway/cli
Finn
Finn2y ago
With a -g I assume
leaf
leaf2y ago
It worked thanks 🙂
tanosaur
tanosaur2y ago
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 ?
Adam
Adam2y ago
#🛂|readme #5
avantika5984
avantika598414mo ago
@l_e_a_f hi there i have the same issue could you please tell the code you used to update railway cli
leaf
leaf14mo ago
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?
avantika5984
avantika598414mo ago
yes u r right i install via scoop but there is no way to update railway cli via scoop
leaf
leaf14mo ago
Try scoop update <railway package name>
avantika5984
avantika598414mo ago
thnx bro it worked
leaf
leaf14mo ago
Np 👍
Want results from more Discord servers?
Add your server