NB! It seems this console command is not compatible with CS2.
Command Profile

CL_RIGHTHAND

CS:GO

This is the command that moves your gun to your left hand, also known as the switch hand command. Your gun and other weapons will be on the left side of your screen, which some people prefer.

Syntax
cl_righthand [0 / 1]

Description

This is the command that moves your gun to your left hand, also known as the switch hand command. Your gun and other weapons will be on the left side of your screen, which some people prefer.

How To Use cl_righthand

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter cl_righthand [0 / 1], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

cl_righthand [0 / 1]
0 / 1 Use a 0 after this command to move your weapon to your left hand. Use a 1 after this command to move your gun to your right hand.