# Depositing Cycles from Terminal

**URL:** <https://forum.dfinity.org/t/depositing-cycles-from-terminal/9438>\
**Category:** Developers\
**Created:** [December 8, 2021, 12:51am UTC](https://forum.dfinity.org/t/depositing-cycles-from-terminal/9438 "2021-12-08T00:51:34Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [May 13, 2022, 7:57am UTC](https://forum.dfinity.org/t/depositing-cycles-from-terminal/9438/14 "2022-05-13T07:57:25Z")

</div>

> [@icme](#):
>
> Ok, I’m confused now, time for the forums 😆

Totally understandable…

First off, since you’re running on a local environment: If you’re on dfx 0.10.0, `dfx ledger fabricate-cycles` is meant for that very situation. Anyways, you asked about `deposit-cycles`.

The error message is bad/outdated. I’ll update it in [this PR](https://github.com/dfinity/sdk/pull/2201). The new error message will be `The deposit cycles call needs to proxied via the wallet canister. Please run this command using 'dfx canister --wallet <your wallet id> deposit-cycles <other arguments>'.`

If you look closely, you put the wallet flag as part of the `deposit-cycles` subcommand, and not as part of the `canister` command. dfx does expect it to be `dfx canister --wallet <your wallet>` and only AFTER that the `deposit-cycles <other args>`.

dfx _should_ accept the wallet flag anywhere, no question. I’ll note it in our backlog.

---

_[View the full topic](https://forum.dfinity.org/t/depositing-cycles-from-terminal/9438)._
