이번에는 특정 버전의 Flow를 설치하기 위해 Brew를 사용하는 방법을 보여드리겠습니다.
$ brew -v Homebrew 1.2.0 $ flow version Flow, a static type checker for JavaScript, version 0.45.0 $ flow Launching Flow server for /Users/real/Desktop/reactPro/pro2 Wrong version of Flow. The config specifies version ^0.42.0 but this is version 0.45.0
[version] ^0.42.0
brew 설치 흐름(최신 버전이 설치됨)
brew 버전(이미 사용되지 않음)
brew 탭 homebrew/ versions (이미 폐기됨)
Warning: homebrew/versions was deprecated. This tap is now empty as all its formulae were migrated.
$ brew install flow ==> Downloading https://homebrew.bintray.com/bottles/flow-0.45.0.sierra.bottle.tar.gz Already downloaded: /Users/real/Library/Caches/Homebrew/flow-0.45.0.sierra.bottle.tar.gz ==> Pouring flow-0.45.0.sierra.bottle.tar.gz ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> Summary �� /usr/local/Cellar/flow/0.45.0: 8 files, 6.4MBIt 다운로드는 0.45.0 버전이었는데, 필요한 건 0.42.0 버전이어서 수동으로 다운받았습니다. <p style="text-align: left;"></p> <pre class="brush:php;toolbar:false">https://homebrew.bintray.com/bottles/flow-0.42.0.sierra.bottle.tar.gz
/usr/local/Cellar/flow/
$ brew switch flow 0.42.0
ES6 템플릿 문자열을 사용하는 방법
위 내용은 Brew를 사용하여 특정 버전의 흐름을 설치하는 방법의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!