---
# System prepended metadata

title: Starting a node using one command

---

# Starting a node using one command

```--address:``` To define listen address
```--grpc-web.address string:``` To set gRPC web-server address (0.0.0.0:port)
```--grpc-web.enable:``` To enable gRPC webserver
```--grpc.address string:``` To enable gRPC address to listen on.
```--grpc.enable:``` To enable gRPC server 
```--minimum-gas-prices string:``` Set minimum gas prices
```--moniker string:``` To set human readable name for the Validator/Node
```--p2p.laddr string:``` p2p listen address
```--p2p.persistent_peers string:``` string of persistant peers, each separated by a comma.
```--p2p.seeds string:``` to define seeds, each separated by comma
```--pruning string:``` To set differnet prunning strategies (```default|nothing|everything|custom```).
```--pruning-interval uint:``` Time interval after which heights are removed
```--pruning-keep-recent uint:``` No. of recent heights to keep
```--rpc.grpc_laddr string:``` GRPC listen address
```--rpc.laddr string:``` RPC listen address
```--state-sync.snapshot-interval uint:``` Used for state-sync, sets snapshot-interval
```--state-sync.snapshot-keep-recent uint32:``` Sanpshots to keep (default is 2)


Global Flags:
```--home string:``` To set different directory for configs other than the default.
```--log_level string:``` To set different logs levels, like (```trace|debug|info|warn|error|fatal|panic```)


```
osmosisd start  \
--moniker Validatus \
--minimum-gas-prices 0.25uosmo \
--p2p.persistent_peers "" \
--p2p.seeds "" \
--p2p.laddr IPv4:port \
--rpc.laddr IPv4:port \
--pruning custom \
--pruning-interval 142 \
--pruning-keep-recent 10042 \
--home "path-to-config-dir" \
--grpc.enable \
--grpc.address "135.181.160.38:2002" \
--state-sync.snapshot-interval 0 \
--state-sync.snapshot-keep-recent 2
```
