简体   繁体   English

如何将蒸汽 4 降级为蒸汽 3?

[英]How to downgrade vapor 4 to vapor 3?

I have just downloaded vapor for the first time and I got vapor 4, and unfortunately, all the tutorials I have are built on vapor 3, how to downgrade vapor version?我刚刚第一次下载了vapor,我得到了vapor 4,不幸的是,我所有的教程都是建立在vapor 3上的,如何降级vapor版本?

I recently did this - I think all I had to do was:我最近这样做了——我想我所要做的就是:

brew uninstall vapor
brew tap vapor/tap
brew install vapor/tap/vapor3

but then I had some unrelated issues with homebrew that took a while to resolve, so I might be forgetting something.但是后来我遇到了一些与自制软件无关的问题,需要一段时间才能解决,所以我可能会忘记一些事情。

and small side note but make sure to use vapor3 in all terminal commands after this.和小旁注,但请确保在此之后在所有终端命令中使用 vapor3。 ie even to check if the install was successful - use vapor3 --help .即甚至检查安装是否成功 - 使用vapor3 --help I tried vapor --help immediately after to check, and thought the install wasn't successful, but actually if vapor --help returns an error and vapor3 --help works, that is further confirmation the uninstall of vapor 4 worked and you only have vapor3 installed.我在检查后立即尝试了vapor --help ,并认为安装不成功,但实际上如果vapor --help返回错误并且vapor3 --help有效,则进一步确认了蒸汽 4 的卸载有效并且您只安装了vapor3。 Similarly, vapor3 --version同样, vapor3 --version

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM