# Install own fork of package instead of "official" version

**URL:** https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456
**Category:** Package Management
**Created:** [June 6, 2021, 12:41am UTC](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456 "2021-06-06T00:41:02Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [November 24, 2022, 12:29pm UTC](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456/21 "2022-11-24T12:29:35Z")

</div>

When you do `Pkg.add` of a local path, it will pick up what’s committed to git and ignore local changes. When you do development of a package you should almost always either use `Pkg.develop` or activate the environment of the package itself.

> [@ellocco](#):
>
> ```julia
> ERROR: expected a `name` entry in project file at `C:\folder\to\my\local\fork\EquivalentCircuits.jl\Project.toml`
> 
> ```

What is in that `Project.toml` file? Does it have a `name` entry?

---

<div class="post-metadata">

### Author: ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)
#### Post date: [November 24, 2022, 12:49pm UTC](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456/22 "2022-11-24T12:49:18Z")

</div>

In my fork was no file `Project.toml` included.  
What is the clean way to add to my fork a proper `Project.toml`?

---

<div class="post-metadata">

### Author: ![ellocco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ellocco/32/31331_2.png) [@ellocco](https://discourse.julialang.org/u/ellocco)
#### Post date: [November 24, 2022, 1:36pm UTC](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456/23 "2022-11-24T13:36:40Z")

</div>

> [@GunnarFarneback](#):
>
> What is in that `Project.toml` file? Does it have a `name` entry?

This question from you was a trigger 🙂  
I have copied the `Project.toml` from the original package and replaced the `uuid`.  
The new uuid was generated via the command:

```julia
import UUIDs; UUIDs.uuid4()

```

Now I was able to send the command:

```julia
Pkg.develop(path=raw"C:\folder\to\my\local\fork\EquivalentCircuits.jl")

```

Regarding this, I have a question:  
I guess this command links / adds this fork (forked package)  
to the current environment and this command is a replacement / alternative to the Pkg-command:  
`Pkg.add()` Is this correct?

[Previous page](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456.md?page=1)
