Skip to content

Instantly share code, notes, and snippets.

@Saturate
Last active December 10, 2015 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Saturate/4493209 to your computer and use it in GitHub Desktop.
Save Saturate/4493209 to your computer and use it in GitHub Desktop.
Sådan installere du Yeoman på Windows.

#Installation af Yeoman Der er to måder du kan installere Yeoman på windows lige nu, en automatisk fra en package manager, og den langsomme manuelle.

Automatisk installation

Benytter chocolatey til at installere dependencies.

"Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind."

Trin 1 - Installer Chocolatey

Skriv følgende kode i CMD og tryk Enter.

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

Trin 2 - Installer Yeoman via chocolatey

Skriv denne kommando for at benytte chocolatey til at hente den nyeste version af Yeoman plus alle dependencies.

cinst yeoman

Trin 3 - Færdig!

Det var alt, du skal ikke gøre mere! Du kan teste alt er gået vel ved at skrive yeoman i din kommando prompt.

Manual installation

Den langsomme måde, tilgængæld ved du hvad der sker.

Trin 1: Installering af afhænigheder

Du skal hente og installere følgende:

Trin 2: Installering af Yeoman via NPM

Kør følgende kommando:

npm install yeoman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment