Genie fully takes advantage of Julia’s excellent package manager,
Pkg – while allowing Genie developers to use any 3rd party package available in Julia’s ecosystem. This is achieved by taking a common sense approach: Genie apps are just plain Julia projects. This can be easily confirmed by looking at the familiar
Manifest.toml files in the root of your Genie app.
In order to add extra packages to your Genie app, thus, we need to use Julia’s
$ bin/repl. This will automatically load the package environment of the app.
(MyGenieApp) pkg> add OhMyREPL
That’s all! Now you can use the packages at the Genie REPL or anywhere in your files via
Use the same approach to update all the packages, via:
pkg> up, or
pkg> up OhMyREPL to update a single package.
Finally, you can use
pkg> remove OhMyREPL to uninstall a depedency.