# Introducing Lima to Trellis for Faster Local Development

**URL:** https://discourse.roots.io/t/introducing-lima-to-trellis-for-faster-local-development/24928
**Category:** blog
**Tags:** lima, trellis-cli, trellis
**Created:** 2023-03-08T14:36:13Z
**Posts:** 73
**Showing post:** 18 of 73

## Post 18 by @swalkinshaw — 2023-03-13T18:08:08Z

> [@nikitasol](#):
>
> What I have noticed is that the port inside Inventroty (ansible\_port) is changed each time I start the machine

I’m using Lima’s default method of auto finding a free SSH forwarding port. It’s good because you don’t have to worry about manually setting it or having conflicts with multiple machines, but it does mean the port isn’t stable.

For things that trellis-cli _can_ control (like `trellis db open`, which I’ll fix soon), it will automatically use the generated inventory file ensuring everything works. But for external tools like sync script, it does mean you need to update the port manually each time :sweat:

Maybe I could make an SSH port option if people want to hard code it?

---

_[View the full topic](https://discourse.roots.io/t/introducing-lima-to-trellis-for-faster-local-development/24928)._
