# Architecture > Operating system CPU architecture.
## Usage ```javascript var ARCH = require( '@stdlib/os/arch' ); ``` #### ARCH Operating system CPU architecture. ```javascript console.log( ARCH ); // => ```
## Examples ```javascript var ARCH = require( '@stdlib/os/arch' ); if ( ARCH === 'arm' || ARCH === 'arm64' ) { console.log( 'Running on ARM...' ); } else { console.log( 'Running on something else...' ); } ```
* * *
## CLI
### Usage ```text Usage: arch [options] Options: -h, --help Print this message. -V, --version Print the package version. ```
### Examples ```bash $ arch ```