Configure cursor size using command-line on Ubuntu 22 Jammy Jellyfish.

You can configure cursor size using GNOME control center.

Get current cursor size using GSettings configuration tool.

$ gsettings get org.gnome.desktop.interface cursor-size
32

Set cursor size using command-line utility.

$ gsettings set org.gnome.desktop.interface cursor-size 48

Use cursor sizes defined inside GNOME control center source code.

[...]
  guint cursor_sizes[] = { 24, 32, 48, 64, 96 };
[...]