Solutions
Device management
Remotely manage, and protect laptops and mobile devices.
Orchestration
Automate tasks across devices, from app installs to scripts.
Software management
Inventory, patch, and manage installed software.
Extend Fleet
Integrate your favorite tools with Fleet.
Customers
Fintech + Fleet
Fintech giant consolidates multiple tools with Fleet.
Foursquare + Fleet
Foursquare quickly migrates to Fleet for device management.
What people are saying
Stories from the Fleet community.
More
macOS | 3.1
JetBrains tools manager.
To install JetBrains Toolbox on your work computer:
Don’t see JetBrains Toolbox or the Fleet Desktop icon? Send a link to this page to your IT team.
Run the following command in your terminal to uninstall JetBrains Toolbox:
APPDIR="/Applications/" && LOGGED_IN_USER=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }') && remove_launchctl_service() { local service="$1"; local booleans=("true" "false"); local plist_status; local paths; local should_sudo; echo "Removing launchctl service ${service}"; for should_sudo in "${booleans[@]}"; do plist_status=$(launchctl list "${service}" 2>/dev/null); if [[ $plist_status == \{* ]]; then if [[ $should_sudo == "true" ]]; then sudo launchctl remove "${service}"; else launchctl remove "${service}"; fi; sleep 1; fi; paths=(; "/Library/LaunchAgents/${service}.plist"; "/Library/LaunchDaemons/${service}.plist"; ); if [[ $should_sudo == "false" ]]; then for i in "${!paths[@]}"; do paths[i]="${HOME}${paths[i]}"; done fi; for path in "${paths[@]}"; do if [[ -e "$path" ]]; then if [[ $should_sudo == "true" ]]; then sudo rm -f -- "$path"; else rm -f -- "$path"; fi; fi; done done } && send_signal() { local signal="$1"; local bundle_id="$2"; local logged_in_user="$3"; local logged_in_uid pids; if [ -z "$signal" ] || [ -z "$bundle_id" ] || [ -z "$logged_in_user" ]; then echo "Usage: uninstall_signal <signal> <bundle_id> <logged_in_user>"; return 1 fi; logged_in_uid=$(id -u "$logged_in_user"); if [ -z "$logged_in_uid" ]; then echo "Could not find UID for user '$logged_in_user'."; return 1 fi; echo "Signalling '$signal' to application ID '$bundle_id' for user '$logged_in_user'"; pids=$(/bin/launchctl asuser "$logged_in_uid" sudo -iu "$logged_in_user" /bin/launchctl list | awk -v bundle_id="$bundle_id" '; $3 ~ bundle_id { print $1 }'); if [ -z "$pids" ]; then echo "No processes found for bundle ID '$bundle_id'."; return 0 fi; echo "Unix PIDs are $pids for processes with bundle identifier $bundle_id"; for pid in $pids; do if kill -s "$signal" "$pid" 2>/dev/null; then echo "Successfully signaled PID $pid with signal $signal."; else echo "Failed to kill PID $pid with signal $signal. Check permissions."; fi; done sleep 3 } && trash() { local logged_in_user="$1"; local target_file="$2"; local timestamp="$(date +%Y-%m-%d-%s)"; local rand="$(jot -r 1 0 99999)"; if [[ "$target_file" == ~* ]]; then target_file="/Users/$logged_in_user${target_file:1}"; fi; local trash="/Users/$logged_in_user/.Trash"; local file_name="$(basename "${target_file}")"; if [[ -e "$target_file" ]]; then echo "removing $target_file."; mv -f "$target_file" "$trash/${file_name}_${timestamp}_${rand}"; else echo "$target_file doesn't exist."; fi } && remove_launchctl_service 'com.jetbrains.toolbox' && send_signal 'TERM' 'com.jetbrains.toolbox' "$LOGGED_IN_USER" && sudo rm -rf "$APPDIR/JetBrains Toolbox.app" && sudo rmdir '~/Library/Application Support/JetBrains' && sudo rmdir '~/Library/Caches/JetBrains' && sudo rmdir '~/Library/Logs/JetBrains' && trash $LOGGED_IN_USER '~/Library/Application Support/JetBrains/Toolbox' && trash $LOGGED_IN_USER '~/Library/Caches/JetBrains/Toolbox' && trash $LOGGED_IN_USER '~/Library/Logs/JetBrains/Toolbox' && trash $LOGGED_IN_USER '~/Library/Preferences/com.jetbrains.toolbox.renderer.plist' && trash $LOGGED_IN_USER '~/Library/Saved Application State/com.jetbrains.toolbox.savedState'
Run this query in Fleet to find old versions of JetBrains Toolbox across all your computers:
SELECT 1 FROM apps WHERE bundle_identifier = 'com.jetbrains.toolbox' AND bundle_short_version <= '3.1';