Artikelformat

Über die macOS Version

On the macOS Version

In many administration scripts, you need to check the version of macOS, to make sure you don’t try to access features that are not present on other versions.

The first part of the version number (“major” version) is always 10 (so far). The second part (“minor” version) denotes the version of macOS (11: El Capitan, 12: Sierra, 13: High Sierra, etc.) and the third (“patch” or update version) the update number. (Useful list of macOS versions and names on Wikipedia.)

Aside from the numerical version number or product version, macOS also has a build number, which follows a different schema. The first part is a number which matches the “Darwin version” of macOS. Mac OS X 10.0 had a Darwin version of 4 and that number has increased with every version of Mac OS X. Currently, macOS High Sierra 10.13 has a Darwin version of 17. Then follows a single capital letter, with A being the first release of a version (i.e the 10.x.0 version), B is the first patch update (10.x.1) and so on.).

Wissenswert 🙂

4 Kommentare

  1. Ich habe auch ZSH installisiert, aber wie bekommt man das mit dem Apfel und dem Haus hin ? Kannst Du das Script mal posten ?

    DANKE!

    Antworten
    • klick ;)

      Font ist 18pt SourceCodePro+Powerline+Awesome Regular

      und der entscheidende Teil der Config:

      POWERLEVEL9K_MODE=’awesome-patched‘
      POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
      POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs)
      POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status nvm node_version)

      POWERLEVEL9K_OS_ICON_BACKGROUND=“white“
      POWERLEVEL9K_OS_ICON_FOREGROUND=“blue“
      POWERLEVEL9K_DIR_HOME_FOREGROUND=“white“
      POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND=“white“
      POWERLEVEL9K_DIR_DEFAULT_FOREGROUND=“white“

      Antworten

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.