# Sui Move Lecture #1  Setup your development environment

By [Artech.Club](https://paragraph.com/@artechclub) · 2023-05-16

---

Lecture 1: Setup your development environment
---------------------------------------------

### Install Sui Binary

Info: The following instructions are based on official guides [here](https://docs.sui.io/build/install#install-sui-binaries)

1.  Install Dependency
    
    Check the official doc [here](https://docs.sui.io/build/install#prerequisites) to install the necessary dependencies. Please note that the dependencies vary for different operation systems.
    
2.  Install **Sui** binary
    
    Run \`cargo install\`
    
        cargo install --locked --git https://github.com/MystenLabs/sui.git --tag sui-v1.0.0 sui
        
    
    and it will be saved at \`$HOME/.cargo/bin/sui\`
    
3.  Build after the codebase is downloaded
    
        # binary will be generated under sui/target/release，
        
        git clone https://github.com/MystenLabs/sui.git
        
        cd sui/
        
        git checkout sui-v1.0.0-release
        
        cargo build --release
        
    
4.  Verify install
    

    sui -V
    

Once you see the version information, you are all done!

Congrats!

### Sui Move IDE

[https://www.movestudio.dev/](https://www.movestudio.dev/)

[https://marketplace.visualstudio.com/items?itemName=move.move-analyzer](https://marketplace.visualstudio.com/items?itemName=move.move-analyzer)

### How to use sui cli?

You can read the complete documentation [here](https://docs.sui.io/build/cli-client)

*   **Create new address**
    
        sui client new-address secp256k1
        
    
    The command returns a new address and the 24-word recovery phrase for it.
    
*   **Check all your address**
    
    the following command returns the list of account addresses available on the platform:
    

The response resembles the following:

    0x008e9c621f4fdb210b873aab59a1e5bf32ddb1d33ee85eb069b348c234465106
    0x011a285261b9f8d10a0c7ecb4c0dbe6d396825768dba38c3056809472736e521
    0x4ab708d1a4160fa0fdbf359691764e16380444ddb48d2b8856a169594a9baa55
    0xa3c00467938b392a12355397bdd3d319cea5c9b8f4fc9c51b46b8e15a807f030
    0xa56612ad4f5dbc04c651e8d20f56af3316ee6793335707f29857bacabf9127d0 <=
    

The `<=` indicates the active address.

You can [switch](https://docs.sui.io/build/cli-client#active-address) to a different address.

**Manage Networks**

*   Add devnet
    

    sui client new-env --alias devnet --rpc https://fullnode.devnet.sui.io:443
    

*   Add testnet
    
        sui client new-env --alias testnet --rpc https://fullnode.testnet.sui.io:443
        
    

**Get devnet token**

    curl --location --request POST 'https://faucet.devnet.sui.io/gas' --header 'Content-Type: application/json' --data-raw '{"FixedAmountRequest":{"recipient":"<WALLET ADDRESS>"}}'
    

**Switch to devnet env**

    sui client switch --env devnet
    

**Check gas balance**

    sui client gas <wallet-address>
    

In this lecture, you learned how to install Sui and use basic Sui client commands. Stay tuned for our next tutorial!

[Subscribe](null)

---

*Originally published on [Artech.Club](https://paragraph.com/@artechclub/sui-move-lecture-1-setup-your-development-environment)*
