Просмотр исходного кода

FAQ: Installing and updating Amber

Hannes Hirzel 9 лет назад
Родитель
Сommit
176fb0e681
1 измененных файлов с 23 добавлено и 0 удалено
  1. 23 0
      faq.md

+ 23 - 0
faq.md

@@ -20,6 +20,29 @@ In case the above did not work, evaluate the following in the JavaScript console
 1.    Open IDE at http://amber-lang.net/.
 2.    Go to Workspace tab.
 3.    Print-it ``Smalltalk version``.
+4.    
+
+### How do I install the latest Amber version?
+
+'Latest' often means the 'latest stable'. If this is the case go for
+
+      npm -g install amber-cli
+
+If you mean really the prereleases, 
+
+      npm -g install amber-cli@bleedingedge 
+
+should install the last prerelease (but not the stable version even if it is newer).
+
+Use `npm info amber-cli` to find out which version is latest and which one is bleedingedge, if you are unsure.
+
+
+### How do I update Amber?
+
+-  ``npm install -g amber-cli``  will get it fixed for all new projects and 
+
+-  ``npm update amber-dev`` in every project dir will fix it for current projects
+
 
 ### More questions and answers