The whole hunk
from line 132, old and new numbered
/
lines
from line 132
132132
133133 puts "Environment ID: #{environment.id}"
134134 ```
135
136 <ForLanguage tab="CLI">
137 [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply) creates the environment from `environment.yaml`, prints its ID, and records it in `claude-lock.json`. Commit `claude-lock.json` so the next `ant apply` updates this environment instead of trying to create it again.
138 </ForLanguage>
135139</CodeGroup>
136140
137141Use a unique, descriptive `name` so you can tell environments apart.