upload data to local r2 buckets

hi, i am developing locally with wrangler, and i was wondering if there are any tools to / common paths to interact with locally simulated buckets. i'd like to update them to hold some data, but its not clear how i see on my terminal Your worker has access to the following bindings: - R2 Buckets: - MY_BUCKET: my-bucket-dev [simulated locally] is there a way to interact with the r2 bucket on the cli
4 Replies
Hard@Work
Hard@Work2d ago
Try wrangler object put
1024bees
1024beesOP2d ago
i dont see object as a subcommand, i'm using wrangler 4.6
Hard@Work
Hard@Work2d ago
Oh my god I'm tired. Try wrangler r2 object put
1024bees
1024beesOP2d ago
godbless taking a sip out of my milk chalice for u

Did you find this page helpful?