c8y(1)
π¦ c8y β software versions install π¦
okay so bestie, you want to install a software version on a device? say less. this is the manual page for the c8y-software-versions-install command and it's literally gonna walk you through every single flag. no cap, i'm not skipping anything. periodt. π
β¨ SYNOPSIS β¨
c8y software versions install [flags]
πΈ DESCRIPTION πΈ
Install software version on a device. that's the whole vibe. you point it at a device, tell it what software and version you want, and it makes it happen. iconic behavior honestly. β¨
π OPTIONS π (the main character section)
--action="install"β Software action. the default is"install"and honestly that's the whole point of this command, so like, yeah. π«Ά-d,--data=[]β static data to be applied to body. accepts json or shorthand json, i.e.--data 'value1=1,my.nested.value=100'. very slay, very flexible. β¨--description="Install software package"β Operation description. defaults to"Install software package"which is, honestly, exactly what it is. π--device=[]β Device or agent where the software should be installed (accepts pipeline). yes bestie, you can pipe it in. iykyk. π₯-h,--help[=false]β help for install. the classic. when in doubt,-hit out. π--processingMode=""β Cumulocity processing mode. leave it empty unless you know what you're doing (and if you do, you ate). π--software=""β Software name. required. like, you literally cannot do this without it. no software, no install. periodt. π--softwareType=""β Software type. Leave blank to automatically set it if a matching software/version is found in the c8y software repository. the command is smart, let it cook. π§--template=""β Body template. for when you want to customize the body, you fancy thing. πΈ--templateVars=[]β Body template variables. the little helpers for your template. π--url=""β Software url. Leave blank to automatically set it if a matching software/version is found in the c8y software repository. again, let the command do its thing. π₯--version=""β Software version id or name. which version? this one. π
π OPTIONS INHERITED FROM PARENT COMMANDS π (the family tree, we love her)
--abortOnErrors=10β Abort batch when reaching specified number of errors. default is10errors before it taps out. reasonable tbh. π«Ά--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin). because sometimes the pipe is just empty and that's valid. π--cache[=false]β Enable cached responses. speed. β¨--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values. so if it's empty, it's hashing everything. πΈ--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2m. default is"60s". π-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. so if you're in a terminal, it's pretty by default. iconic. π--confirm[=false]β Prompt for confirmation. the "are you sure bestie" flag. π--confirmText=""β Custom confirmation text. make it say whatever you want. π--currentPage=0β Current page which should be returned. pagination vibes. π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. you do you. π₯--debug[=false]β Set very verbose log messages. for when you need to see everything. π΅οΈ--delay="0ms"β delay after each request, i.e.5ms,1.2s. default is"0ms"(no delay). π°οΈ--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. default is"0ms"too. π°οΈ--dry[=false]β Dry run. Don't send any data to the server. just a little preview, a little test drive. π--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurl. default is"markdown". π--examples[=false]β Show examples for the current command. yes please, show me how it's done. β¨--filter=[]β Apply a client side filter to response before returning it to the user. like a little sieve for your data. πΈ--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. soa.b.cinstead of nested objects. honestly so much easier to read. π-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. the "i said what i said" flag. π₯-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". for the header girlies. π--includeAll[=false]β Include all results by iterating through each page. all of it. every last crumb. πͺ-k,--insecure[=false]β Allow insecure server connections when using SSL. β οΈ careful bestie, this is literally insecure. only if you know what you're doing. π-l,--logMessage=""β Add custom message to the activity log. leave a little note for future you. π--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!). β οΈ use with caution is right there in the original, i'm just saying. π--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. very specific, very niche, very demure. π--noCache[=false]β Force disabling of cached responses (overwrites cache setting). no cache, no lies. πΈ-M,--noColor[=false]β Don't use colors when displaying log entries on the console. for the minimalist girlies. π€--noLog[=false]β Disables the activity log for the current command. no receipts. π--noProgress[=false]β Disable progress bars. i don't need to see the journey, just the destination. β¨--noProxy[=false]β Ignore the proxy settings. proxy whomst? π«-n,--nullInput[=false]β Don't read the input (stdin). Useful if using in shellfor/whileloops. very handy. π-o,--output="table"β Output format i.e.table,json,csv,csvheader. default is"table". π--outputFile=""β Save JSON output to file (after select/view). πΎ--outputFileRaw=""β Save raw response to file (before select/view). the raw, unfiltered version. πΎ--outputTemplate=""β jsonnet template to apply to the output. for the jsonnet girlies. π§-p,--pageSize=5β Maximum results per page. default is5. small and manageable. πΈ--progress[=false]β Show progress bar. This will also disable any other verbose output. so you can't have your cake and eat it too. π°--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080. π¦-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=off. raw dogging the response, so to speak. π--retries=3β Max number of attempts when a failed http call is encountered. default is3. try, try again. πͺ--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. so you can pick and choose. πΈ--session=""β Session configuration. ποΈ--sessionMode=""β Override default session mode for a single command which would normally be disabled. β¨-P,--sessionPassword=""β Override session password. π€«-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant). so you can be anyone you want to be. π--silentExit[=false]β Silent status codes do not affect the exit code. πͺ--silentStatusCodes=""β Status codes which will not print out an error message. the quiet ones. π€«--timeout="600s"β Request timeout duration, i.e.60s,2m. default is"600s". so much time, but like, respect. β³--totalPages=0β Total number of pages to get. how many pages you want. π-v,--verbose[=false]β Verbose logging. for the girlies who need to know everything. π--view="auto"β Use views when displaying data on the terminal. Disable using--view off. default is"auto". π--withError[=false]β Errors will be printed on stdout instead of stderr. so errors go to the normal output, not the red text. π¨--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). very specific, very useful. π’-t,--withTotalPages[=false]β Request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. same energy, different stat. π--workers=1β Number of workers. default is1. one worker, one dream. π οΈ
π₯ EXAMPLE π₯ (let's see it in action)
$ c8y software versions install --device 1234 --software go-c8y-cli --version 1.0.0
Install a software package version. If the software/version exists in the software repository, then it will add the url automatically. bestie, it's literally doing the work for you. π«Ά
$ c8y software versions install --device 1234 --software go-c8y-cli --version 1.0.0 --url "https://mybloblstore/go-c8y-cli.deb"
Install a software package version with an explicit url. when you know exactly what you want and where it lives. π
π¦ SEE ALSO π¦
c8y-software-versions(1) β the parent command, the origin story, the mothership. go check her out. β¨
okay so that's literally it bestie. every flag, every default, every little detail. you're welcome. now go install some software and slay. πβ¨ππ¦
β go-c8y-cli edition, dated Jan 1980, manual name c8y. it's giving vintage but make it fresh. periodt. π
π¦ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms