This is actually a question in science. On the one hand, a virus is a set of instructions wrapped up in an envelope. So in that sense, it’s a lot like a computer virus: not alive.
On the other hand, the instructions are quite complicated and not only allow for reproduction (using the host’s cellular machinery) but also “stealthing” technologies for eluding the host’s immune system. So that sounds very much like a living thing, right?
Finally, actually many viruses (like SARS-CoV2) actually have functional proteins that are in addition to the instructions and the envelope. For the current novel coronavirus, the spike protein, is the viral key that opens the host cellular lock, angiotensin converting enzyme 2 (ACE2). So that’s also very “alive”.