In bouldering, you can usually climb alone. For rock climbing, you'll generally need a partner to belay you. Some gyms offer auto-belay devices that allow for solo climbing.