Finding packages
Check first-party packages for a list designed and used internally at atopile. Discussion planning to open this up publicly These are built, known to work and come with a functioning layout too. Also, Google is your friend. Packages are often publicly available on github or other repositories.Using packages
First, add the package dependency to your project withato add
Managing dependencies
Dependencies of your project can be found in the project/ato.yaml file.ato add
, ato sync
and ato remove
.
All dependency commands keep your installed packages in sync automatically, so you don’t need to think too much about managing environments.
Here are the key commands:
ato sync
Installs all dependencies listed in ato.yaml
. Run this when you pull a new project. Dependencies are cached in project/.ato directory
ato add {package}
Adds a new package dependency to your project:
- Adds the package to
ato.yaml
- Installs the package locally
- Syncs all dependencies
ato remove {package}
Removes a package dependency from your project:
- Removes the package from
ato.yaml
- Removes the package locally
- Syncs remaining dependencies
atopile manages dependencies in a similar way to uv. If you know how that works, think about it in the same way!
Development dependencies
You can install dependencies from git:ato add git://{git-url}
or from a local directory:
ato add file://./path/to/package
Importantly, you cannot publish a package that depends on unpublished packages.