nRF Sniffer for Bluetooth LE can perform basic sniffing in the terminal.
To start sniffing, run the sniff subcommand with the specified <serial_port> of your sniffer device:
nrfutil ble-sniffer sniff --port <serial_port>
You can customize this command. See Sniffing Bluetooth LE packets in command line for more information.