In order to run the project, you should cd into the project directory /path/to/project/directory
and then use the following command
user:~$ julia --project=. main.jl
When updating the installed Julia language version, this project should be updated using the following commands:
pkg> activate "/path/to/project/directory"
pkg> update