Adding a local package using the Pkg manager - how to add the path?

I am still curious to know how to simply add a path to where julia’s Pkg is looking for packages - like PkgTemplates does.
This was be the most simple for me.

It’s just deving them like you did, see here.

1 Like

My guess is that the package was dev-ed on your local machine, but added on the other machine. The difference here is that an added package points to a specific commit, but a dev-ed package looks at every change in the source files and re-compiles the package even without them being committed. Perhaps you had not committed your changes after adding foo? In this case adding the package will not get you foo but deving it will. Perhaps dev is what you want anyway.


Thanks a lot for the explanation!