# CLI error following tutorial

**URL:** <https://forums.sui.io/t/cli-error-following-tutorial/45541>\
**Category:** Technical Support\
**Created:** [May 9, 2024, 2:03pm UTC](https://forums.sui.io/t/cli-error-following-tutorial/45541 "2024-05-09T14:03:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EliteIntegrity](https://avatars.discourse-cdn.com/v4/letter/e/90ced4/32.png) [@EliteIntegrity](https://forums.sui.io/u/EliteIntegrity)\
**Post date:** [May 9, 2024, 2:03pm UTC](https://forums.sui.io/t/cli-error-following-tutorial/45541/1 "2024-05-09T14:03:33Z")

</div>

I am following the Hello Sui tutorial at move-book dot com,

Everything has worked up to the point when the tutorial suggests this command:  
$ sui client ptb   
–gas-budget 100000000   
–assign sender @$MY\_ADDRESS   
–move-call $PACKAGE\_ID::todo\_list::new   
–assign list   
–transfer-objects “[list]” sender

I am using Windows powershell so I tried this:  
sui client ptb --gas-budget 100000000 --assign sender @$env:MY\_ADDRESS --move-call $env:PACKAGE\_ID::todo\_list::new --assign list --transfer-objects “[list]” sender

The error is:  
Error when processing PTB  
╭─[4:1]  
3 │ --move-call  
4 │ --assign list  
· ────┬───  
· ╰── Unexpected command ‘–assign’  
5 │ --transfer-objects [list] sender  
╰────  
This is perhaps suggesting it is not capturing the return value from the function call which therefore means that --assign is unexpected?

Many thanks for any help.

---

<div class="post-metadata">

**Author:** ![EliteIntegrity](https://avatars.discourse-cdn.com/v4/letter/e/90ced4/32.png) [@EliteIntegrity](https://forums.sui.io/u/EliteIntegrity)\
**Post date:** [May 9, 2024, 3:13pm UTC](https://forums.sui.io/t/cli-error-following-tutorial/45541/2 "2024-05-09T15:13:51Z")

</div>

I got this working by wrapping some parts in “” (as suggested in the help docs)  
PS C:\Users\johnh\OneDrive\sui-smart-contracts\todo\_list\> sui client ptb --gas-budget 100000000 `

> > –assign sender “@$env:MY\_ADDRESS” `--move-call "$env:PACKAGE_ID::todo_list::new"`  
> > –assign list `  
> > –transfer-objects “[list]” sender
