# Running local network

Now, it's time to run your first local network!

## Get the latest binary​

You can get the binary in one of the following ways:

• Build from source

If you want to download the binary, go to the Release page of Astar Github repository. You can find the pre-built binaries for MacOS and Ubuntu as well as Docker images. If you want to build from source, this readme helps you a lot!

After you get the binary, you can rename the binary file to astar and add execution permission to the binary by running the following command:

chmod +x ./astar

Then you can execute the binary!  To check whether you can run the node, let's check the binary version.

./astar --version# astar-collator xxx

## Run the local network​

You are already ready to run the local network. Simply run the following command:

./astar --port 30333 --ws-port 9944 --rpc-port 9933 --rpc-cors all --alice --dev

This command means:

• Use port 30333 for P2P TCP connection
• Use port 9944 for WebSocket connection
• Use port 9933 for RPC
• Accept any origins for HTTP and WebSocket connections
• Enable Alice session keys
• Launch network in development mode

You can see the full list of the command option from the help subcommand:

./astar help# shiden xxx# # Stake Technologies <devops@stake.co.jp># Astar parachain collator# ...

When you succeed to run the local network, you can see the following messages on your terminal:

OK! Let's visualize your local network now!

## Access your local network via Explorer​

Access the following URL: