# Info: registering a new package - where can i find the UUID?

**URL:** <https://discourse.julialang.org/t/info-registering-a-new-package-where-can-i-find-the-uuid/30505>\
**Category:** New to Julia\
**Created:** [October 30, 2019, 5:38pm UTC](https://discourse.julialang.org/t/info-registering-a-new-package-where-can-i-find-the-uuid/30505 "2019-10-30T17:38:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fipelle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fipelle/32/4772_2.png) [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Post date:** [October 30, 2019, 5:38pm UTC](https://discourse.julialang.org/t/info-registering-a-new-package-where-can-i-find-the-uuid/30505/1 "2019-10-30T17:38:37Z")

</div>

Hi,

I am trying to register a (small) package I wrote for time series analysis. I am using it as a backend for more sophisticated algorithms that I plan to release on GitHub in the next couple of months.

I am in the process of creating the Project.toml file. However, I am not sure where can I find the correct UUID. Would you please explain to me where can I find it?

Thank you.

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [October 30, 2019, 6:01pm UTC](https://discourse.julialang.org/t/info-registering-a-new-package-where-can-i-find-the-uuid/30505/2 "2019-10-30T18:01:53Z")

</div>

As far as I know, your package does not have a UUID until you create one, so there is no correct UUID for you to find. You can use `Pkg.generate("YourPackageName")` which will generate a Project.toml with a valid UUID field, but as far as I know that’s just generating an almost-certainly-unique random string in the right format.

It should also be fine to do `using UUIDs; uuid4()`.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [October 31, 2019, 6:23am UTC](https://discourse.julialang.org/t/info-registering-a-new-package-where-can-i-find-the-uuid/30505/3 "2019-10-31T06:23:36Z")

</div>

I would recommend using one of the package template generators, eg

> **[GitHub - JuliaCI/PkgTemplates.jl: Create new Julia packages, the easy way](https://github.com/JuliaCI/PkgTemplates.jl)**
>
> Create new Julia packages, the easy way. Contribute to JuliaCI/PkgTemplates.jl development by creating an account on GitHub.

or

> **[GitHub - tpapp/PkgSkeleton.jl: Generate Julia package skeletons using a...](https://github.com/tpapp/PkgSkeleton.jl)**
>
> Generate Julia package skeletons using a simple template system - GitHub - tpapp/PkgSkeleton.jl: Generate Julia package skeletons using a simple template system

(disclaimer: I am the author of the latter).

It will make other things, like CI setup, easier, and also generate a starting Project.toml for you.
