sn CLI is a single binary with no runtime dependencies. It connects to your ServiceNow instance via REST APIs to create, configure, and test platform records from code.Installation
Get the sn CLI running on your machine
The
License activation must happen before any command works.
Tasks
1
Download and install the sn CLI binary for your platform.
# macOS / Linux
curl -fsSL https://get.sndev.io/cli | sh
# Or manually place the binary on your PATH
chmod +x sn && mv sn /usr/local/bin/2
Verify the installation by checking the version.
sn --version1.0.0
3
Place your license file in the project root.
cp ~/Downloads/my-org.sn-license ./Next Level
Environment Setup
Connect to your ServiceNow instance