Can't compile cardano-node from source


Not sure what you mean, the testnet is completely seperate network. If you mean how you can switch to testnet, you can follow complete steps at SPO school, and to check out different environments and their genesis/configs/…, you can refer to hydra Deploy builds here