ppicom
How is it possible to install older versions of Phoenix and Liveview?
Hi! I’m running the latest version of Phoenix and LiveView, which is making it very hard for me to follow the book “Programming Phoenix LiveView” (I am new to the elixir ecosystem). That’s why I decided to downgrade, but I cannot figure out how to install an older version of the phoenix and the generators. Many thanks in advance!
My current version of Phoenix is
❯ mix phx.new --version
Phoenix installer v1.7.7
And live view is
`{:phoenix_live_view, "~> 0.19.0"},`
Marked As Solved
awerment
Hey. As @Nefcairon wrote, the book’s last release does use the latest Phoenix / LiveView versions, but should you still decide to downgrade - you can provide a version when installing an archive such as phx_new from hex: mix archive.install hex phx_new 1.7.0
Run mix help archive.install to see more options (if you want to install an unreleased version from GitHub for example).
Also Liked
Nefcairon
Hello,
Maybe there is no need to downgrade - B10.0 is available and uses 1.7.7 / 0.19.0
ppicom
Awesome, that’s just what I was looking for. Thanks!
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance










