How to start creating packages for Julia with Revise.jl

Thibaut
3 min readDec 19, 2019

Let’s start with a little tutorial for those who are taking their first steps in creating packages for Julia. We’re not going get a headhach, promise, we’re just going to take the basic steps of Julia’s documentation and add the use of the Revise package, which is frankly essential to develop packages in a fluid way.

The list of survival equipment to be carried is quite light:

We will place ourselves in the right folder, the one in which you want to place your code. If you are in a terminal it is a matter of a cd, if you are already in Julia it is that easy. A little pwd() to know where you are and then something like:

julia> cd(“./my_code”)

Then, in julia, with the ] key, you go to the package manager to create the package:

pkg> generate HelloWorld

--

--

Thibaut

Publications in English & French about Data Science, Artificial Intelligence, and Innovation.