There are a few ways that you can get an SMS code without using a phone. One way is to use an online service such as Free Online Phone. This service will allow you to receive SMS codes from any country and number for free. Another way is to use a virtual private network (VPN). A VPN will allow you to send and receive text messages through an encrypted connection. Finally, you can use a web-based application such as Google Voice. Google Voice will provide you with a free phone number that you can use to receive SMS codes.