Support Center

Agent Deployment via Command-line

End User Impact: None/Low

Prerequisites:


This KB describes installing the agent via the command line manually for all operating systems.
 

Mac

Windows

Linux

 
 

Mac

  1. Copy the following into a shell script and run as root:
 
curl -o /tmp/jumpcloud-agent.pkg "https://s3.amazonaws.com/jumpcloud-windows-agent/production/jumpcloud-agent.pkg"
mkdir -p /opt/jc
cat <<-EOF > /opt/jc/agentBootstrap.json
{
"publicKickstartUrl": "https://kickstart.jumpcloud.com:443",
"privateKickstartUrl": "https://private-kickstart.jumpcloud.com:443",
"connectKey": "YOUR_CONNECT_KEY"
}
EOF
installer -pkg /tmp/jumpcloud-agent.pkg -target /

Successful Installer output: 

installer: Package name is JumpCloud
installer: Installing at base path /
installer: The install was successful.

 
 

Windows


Note: If the Windows dependencies are not met, the silent installer will hang without completing. 
  1. Change to the directory where JumpCloudInstaller.exe resides
  2. Run the following:
 
JumpCloudInstaller.exe -k YOUR_CONNECT_KEY /VERYSILENT /NORESTART

Common Command Line Options
  • -k YOUR_CONNECT_KEY allows you to set your connect key for unattended installations.
  • /SILENT displays the installer GUI, but walks through the steps automatically. It will prompt you if you wish to reboot now, when the install is complete.
  • /VERYSILENT hides the installer GUI and walks through the steps automatically. It will automatically reboot once finished.
  • /NORESTART prevents setup from restarting the system following a successful installation. Typically used along with /SILENT or /VERYSILENT.
  • /SUPPRESSMSGBOXES answers yes to any installation dependencies, such as MFC redistributables.

To show all command line options available for Windows, use /help.  
 

Linux

  1. Login to the system as a sudoer or root
  2. Run the following:
 
curl --silent --show-error --header 'x-connect-key: YOUR_CONNECT_KEY' https://kickstart.jumpcloud.com/Kickstart | sudo bash

 
 

Last Updated: Aug 04, 2017 03:35PM MDT

Related Articles
31b11a79e2c94470a66430cfe6d3eecd@jumpcloud.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete