Skip to content

ChromeOS Shell (Crosh)

The ChromeOS Shell, also known as Crosh, is a command line interface built into ChromeOS. It is designed for basic system diagnostics and debugging. It is not a full shell and cannot be used to run scripts or install software.

The commands below may vary slightly depending your ChromeOS device features and enterprise/educational enrollment status.

ChromeOS Shell CommandDescriptionCommand Details
arcThe arc command in ChromeOS provides powerful tools for managing and monitoring the Android Runtime environment. This chapter explores how to use these tools effectively through the Chrome OS Shell (crosh).arc
autestThe autest command is a powerful but potentially risky tool in ChromeOS that allows users to trigger system updates against a test update server. This chapter explains its usage and important considerations.autest
authpolicy_debugXauthpolicy_debug
battery_firmwareThe battery_firmware command in ChromeOS provides access to detailed battery information through the Chrome OS Shell (crosh). This chapter explains how to use this command to query and understand your device's battery information.battery_firmware
battery_testmeasure and analyze battery discharge rates through the Chrome OS Shell (crosh). This chapter explains how to use this diagnostic tool effectively.battery_test
builtin_corpsshXbuiltin_corpssh
bt_consoleThe bt_console command provides access to a specialized debugging console for Bluetooth functionality in ChromeOS.bt_console
ccd_passThe ccd_pass command in ChromeOS provides functionality to manage the Case Closed Debugging (CCD) password.ccd_pass
chaps_debugThe chaps_debug command in ChromeOS provides control over the logging level of the ChromeOS PKCS #11 implementation (chapsd).chaps_debug
connectivityThe connectivity command in ChromeOS provides tools for monitoring and analyzing network connectivity statusconnectivity
crasThe cras command in ChromeOS provides control over the ChromeOS Audio Server (CRAS), allowing users to manage audio features and simulate telephony eventscras
diagThe diag command in ChromeOS provides access to system diagnostics tools and routines.diag
display_debugXdisplay_debug
dlc_listThe dlc_list command in ChromeOS provides information about supported Downloadable Content (DLC) packages available for your systemdlc_list
dlc_installXdlc_install
dmesgThe dmesg command in ChromeOS provides access to the kernel message buffer, allowing users to view and analyze system messages.dmesg
dump_emkXdump_emk
enroll_statusThe enroll_status command in ChromeOS provides information about device enrollment status and configuration.enroll_status
evtestThe evtest command in ChromeOS provides a safe mode interface for testing and monitoring input device events.evtest
exitThe exit command in ChromeOS provides a clean way to close the Chrome OS Shell (crosh).exit
ff_debugThe ff_debug command in ChromeOS manages debug tags and logging levels for flimflam, the network management system.ff_debug
freeThe Linux free command displays the total amount of free and used memory in the system, including physical memory, swap space, and buffers used by the kernel.free
force_activate_fipsThe force_activate_fips command in ChromeOS enables FIPS (Federal Information Processing Standards) mode for the device's built-in security key (on devices with a supported internal security key).force_activate_fips
gesture_propXgesture_prop
helpXhelp
help_advancedXhelp_advanced
hibernateXhibernate
ipaddrsThe ipaddrs command in ChromeOS provides a straightforward way to display IP addresses assigned to your device through the Chrome OS Shellipaddrs
meminfoThe meminfo command in ChromeOS provides detailed information about system memory usage through the Chrome OS Shellmeminfo
memory_testXmemory_test
modemXmodem
network_diagXnetwork_diag
p2p_updateThe p2p_update command in the ChromeOS developer shell (crosh) is used to enable or disable peer-to-peer (P2P) sharing of updates over a local network.p2p_update
packet_captureThe packet_capture command in ChromeOS provides a way to capture network packets for debugging purposes.packet_capture
pingXping
printscan_debugXprintscan_debug
rlzXrlz
rollbackThe rollback command in ChromeOS allows users to revert their device to a previously cached update.rollback
routeXroute
set_apnXset_apn
set_arpgwXset_arpgw
set_cellular_pppXset_cellular_ppp
set_timeXset_time
set_wake_on_lanXset_wake_on_lan
shellThe shell opens a Linux Shell on ChromeOS devices that have the ChromeOS Developer Mode active.shell
storage_test_1Xstorage_test_1
storage_test_2Xstorage_test_2
swapXswap
syncXsync
syslogXsyslog
time_infoXtime_info
topThe top command provides a dynamic, real-time view of system processes, displaying information such as CPU and memory usage, process ID, and running time, helping to monitor system performance and resource consumption.top
tracepathXtracepath
u2f_flagsThe u2f_flags command in the ChromeOS developer shell provides options to customize the configuration of the second-factor authentication (U2F) daemon.u2f_flags
unameXuname
upload_crashesXupload_crashes
upload_devcoredumpsXupload_devcoredumps
uptimeThe uptime command in ChromeOS displays information about how long the system has been running and its current load.uptime
verify_roThe verify_ro command in ChromeOS provides a way to verify the read-only (RO) firmware for both the Application Processor (AP) and Embedded Controller (EC) through the Chrome OS Shellverify_ro
vmcThe vmc command in ChromeOS provides a comprehensive command-line interface for managing virtual machines on ChromeOS.vmc
vmstatThe Linux vmstat command reports information about processes, memory, paging, block I/O, traps, and CPU activity, providing a detailed view of system performance and resource utilization.vmstat
vshXvsh
wifi_fw_dumpXwifi_fw_dump
wifi_power_saveXwifi_power_save
wireguardThe wireguard command in crosh provides a comprehensive set of tools for managing WireGuard VPN connection.wireguard