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

CL_BOBUP

CS:GO

Adjusts how much your viewmodel & weapon bobs up when running.

Syntax
cl_bobup [Value]

Description

Adjusts how much your viewmodel & weapon bobs up when running.

How To Use cl_bobup

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter cl_bobup [Value], 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_bobup [Value]
Value The value attached to your viewmodel bobbing up and down. The default is set at 0.5.