# What are the steps to create your own package in Julia?

**URL:** <https://discourse.julialang.org/t/what-are-the-steps-to-create-your-own-package-in-julia/40877>\
**Category:** New to Julia\
**Tags:** package, first-steps\
**Created:** [June 6, 2020, 2:20pm UTC](https://discourse.julialang.org/t/what-are-the-steps-to-create-your-own-package-in-julia/40877 "2020-06-06T14:20:52Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![maxkapur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxkapur/32/21208_2.png) [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Post date:** [February 2, 2021, 7:58am UTC](https://discourse.julialang.org/t/what-are-the-steps-to-create-your-own-package-in-julia/40877/15 "2021-02-02T07:58:35Z")

</div>

A lot of the answers here and elsewhere concern building a package from scratch. In my case, I have basically built a beta of my package and uploaded it to Github. However, the package has none of the “structure” of a package (e.g. the `.toml` files and package metadata), and I would like to create these files and add my existing code to the package registry _without_ creating a new Github repository, if possible.

**How can I “convert” an existing project into a registered package while working within the same Github repository?**

Specifically, what I currently have in the root directory is a main `Foo.jl` file that defines a bunch of functions, a `readme.md`, and a bunch of example code and graphs in subdirectories.

---

_[View the full topic](https://discourse.julialang.org/t/what-are-the-steps-to-create-your-own-package-in-julia/40877)._
