- 2022.03.28 Monday
- スポンサーサイト
-
一定期間更新がないため広告を表示しています
- | スポンサードリンク | - | | - | - | pookmark |
- 2017.02.12 Sunday
- Windows版homebrew的存在、Chocolateyを使うのエラー(5) - Chocolateyを使う
-
Windows版homebrew的存在、Chocolateyを使うのエラー(5) - Chocolateyを使う
http://byoma.hatenablog.com/entry/2016/08/21/124259
%SystemRoot%¥syswow64¥WindowsPowerShell¥v1.0¥powershell.exe
%windir%¥syswow64¥WindowsPowerShell¥v1.0¥PowerShell_ISE.exe
%windir%¥system32¥WindowsPowerShell¥v1.0¥PowerShell_ISE.exe
%SystemRoot%¥system32¥WindowsPowerShell¥v1.0¥powershell.exe
C:¥Windows¥system32¥WindowsPowerShell¥v1.0¥powershell.exe
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
使い方を調べる
とにかく使い方やコマンドが分からなくなったらこれ。
choco -h
-?
なども使える。 使えるコマンドやオプションも表示されてだいぶ親切。コマンドの使い方を調べたいときはコマンドの後に
-h
を付けると使い方が分かります。choco list -h
---------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- choco -h 実行 --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
choco list -h実行結果
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- choco install git.shell --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- choco upgrade git --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
PS C:¥Windows¥system32> choco upgrade git
Chocolatey v0.10.3
Upgrading the following packages:
git
By upgrading you accept licenses for the packages.
git v2.11.1.20170208 is the latest version available based on your source(s).Chocolatey upgraded 0/1 packages. 0 packages failed.
See the log for details (C:¥ProgramData¥chocolatey¥logs¥chocolatey.log).
PS C:¥Windows¥system32>----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- choco upgrade chocolatey --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
PS C:¥Windows¥system32> choco upgrade chocolatey
Chocolatey v0.10.3
Upgrading the following packages:
chocolatey
By upgrading you accept licenses for the packages.
chocolatey v0.10.3 is the latest version available based on your source(s).Chocolatey upgraded 0/1 packages. 0 packages failed.
See the log for details (C:¥ProgramData¥chocolatey¥logs¥chocolatey.log).
PS C:¥Windows¥system32>
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- choco list --local-only --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
PS C:¥Windows¥system32> choco list --local-only
Chocolatey v0.10.3
chocolatey 0.10.3
chocolatey-core.extension 1.0.6
git 2.11.1.20170208
git.install 2.11.1.20170208
4 packages installed.
PS C:¥Windows¥system32>----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- choco install chocolateygui --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:¥Windows¥system32>
PS C:¥Windows¥system32>
PS C:¥Windows¥system32>
PS C:¥Windows¥system32>
PS C:¥Windows¥system32> choco install chocolateygui
Chocolatey v0.10.3
Installing the following packages:
chocolateygui
By installing you accept licenses for the packages.PowerShell v5.1.14409.1005 [Approved]
powershell package files install completed. Performing other installation steps.
The package PowerShell wants to run 'ChocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?([Y]es/[N]o/[P]rint): YRunning on: Windows 10 Pro, (Professional), Windows Kernel: 10.0.14393
Installing for OS: Windows 10/Server 2016
WARNING: Windows 10 / Server 2016 has WMF/PowerShell 5 pre-installed which is maintained by Windows Updates.
The install of powershell was successful.
Software install location not explicitly set, could be in package or
default install location if installer.ChocolateyGUI v0.13.2 [Approved]
chocolateygui package files install completed. Performing other installation steps.
The package ChocolateyGUI wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?([Y]es/[N]o/[P]rint): YInstalling ChocolateyGUI...
ChocolateyGUI has been installed.
The install of chocolateygui was successful.
Software installed as 'msi', install location is likely default.Chocolatey installed 2/2 packages. 0 packages failed.
See the log for details (C:¥ProgramData¥chocolatey¥logs¥chocolatey.log).Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, it makes you look smarter,
plus it nets you some awesome features!
https://chocolatey.org/compare
PS C:¥Windows¥system32>
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
------------------ ChocolateyGui.exe" Location of HD --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
"C:¥Program Files (x86)¥ChocolateyGUI¥ChocolateyGui.exe"
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- QT --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
---------------------------- --------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
- | whaison | homebrew-win-Chocolatey | 13:23 | comments(0) | - | pookmark |
- 2017.02.11 Saturday
- Windows版homebrew的存在、Chocolateyを使うのエラー(2)
-
& : このシステムではスクリプトの実行が無効になっているため、ファイル C:¥Users¥whaison¥AppData¥Local¥Temp¥chocolatey¥cho
cInstall¥tools¥chocolateyInstall.ps1 を読み込むことができません。詳細については、
「about_Execution_Policies」
(http://go.microsoft.com/fwlink/?LinkID=135170) を
参照してください。
- | whaison | homebrew-win-Chocolatey | 18:53 | comments(0) | - | pookmark |