Mention more ways to install deps in attached mode

This commit is contained in:
José Valim 2023-04-22 10:17:47 +02:00
parent 4a957a0232
commit a84e9aca1f

View file

@ -266,11 +266,16 @@ Click to "Configure" the runtime and choose "Attached node". Input the
name and cookie as above and you should be ready to connect to it.
Note, however, that you can't install new dependencies on a connected runtime.
If you want to install dependencies, you have two options:
If you want to install dependencies, you have three options:
1. Use the Mix project approach outlined in the previous section;
1. Add any Livebook related to dependencies directly to the project
(you may add them to a specific environment, such as `:dev` or
`:livebook`, and then set `MIX_ENV` accordingly when starting your
application)
2. Use a regular notebook and use
2. Use the Mix project approach outlined in the previous section;
3. Use a regular notebook and use
[`Node.connect/1`](https://hexdocs.pm/elixir/Node.html#connect/1)
to connect to your application.
Use [the `:erpc` module](https://www.erlang.org/doc/man/erpc.html)