How to upgrade livebook to v.4

I presume I am on livebook .2.
I do not know how to check my livebook version.
I do not know how to upgrade livebook.
Thanks kindly
Murray

Bump your hex version. Install like usual.

Can you please run mix local.hex to update to latest Hex and try again? :slight_smile:
Github issues

Thanks for the reply.
ran mix. local.hex, it upgraded to hex-1.0.1

ran MIX_ENV=prod elixir --name livebook@127.0.0.1 -S mix phx.server

can’t detect any difference
still don’t know how to determine the livebook version.
don’t know what ‘upgrade as usual’ means.
THanks again.

NduatiK
December 15

Bump your hex version. Install like usual.

Oops, I assumed you installed livebook but looks like you are running it from source.

I would recommend you install livebook globally as recommended by the README Installation section:

mix escript.install hex livebook

# Start the Livebook server
livebook server

# See all the configuration options
livebook server --help

Thanks.

Switched to your method - livebook server . It works but…

  1. How do I know what version of livebook I am on???
  2. To upgrade livebook is this what I do?

mix local.deps
mix escript.install hex livebook
Will this always get the latest version?

Thanks again, appreciate the help.
Murray

NduatiK
December 16

Oops, I assumed you installed livebook but looks like you are running it from source.

I would recommend you install livebook globally as recommended by the README Installation section:

mix escript.install hex livebook

# Start the Livebook server
livebook server

# See all the configuration options
livebook server --help

You can visit “/dashboard” on your Livebook.

1 Like

livebook --version on the command line works too.

To update, I think mix escript.install hex livebook should be enough

Thanks!

Works - got livebook 0.4.1 . Had 0.1.0 when compiling from source.

Trouble getting Kino to work but that’s a different issue.

Thanks for your help and patience.

Murray

1 Like

You’re welcome.

Btw. to learn more about Kino and VegaLite, open Livebook and scroll to the Explore section, if you click See all, there are a bunch of tutorials

Thanks Jose,

Dashboard is great for monitoring all components.

By the way installed Elixir, Erlang via Nix.
Had Elixir 1.13 upgrade within 3 days.

Appreciated,

Murray