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
leafOP2y ago
N/A
Adam
Adam2y ago
should be npm update @railway/cli
Finn
Finn2y ago
With a -g I assume
leaf
leafOP2y 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
avantika598416mo 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
leafOP16mo 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
avantika598416mo ago
yes u r right i install via scoop but there is no way to update railway cli via scoop
leaf
leafOP16mo ago
Try scoop update <railway package name>
avantika5984
avantika598416mo ago
thnx bro it worked
leaf
leafOP16mo ago
Np 👍
Want results from more Discord servers?
Add your server