Solucionado (ver solução)
Solucionado
(ver solução)
4
respostas

Problemas em instalar o chocolatey no windows 10

Estou tentando realizar a instalação do Chocolatey através do PowerShell, mas estou recebendo a seguinte mensagem, alguém sabe o que está errado?

{Everything is Ok

Files: 87
Size:       11891084
Compressed: 7214019
Installing chocolatey on this machine
Creating ChocolateyInstall as an environment variable (targeting 'Machine')
  Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
WARNING: It's very likely you will need to close and reopen your shell
  before you can use choco.
Restricting write permissions to Administrators
We are setting up the Chocolatey package repository.
The packages themselves go to 'C:\ProgramData\chocolatey\lib'
  (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
  and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

Creating Chocolatey folders if they do not already exist.

WARNING: You can safely ignore errors related to missing log files when
  upgrading from a version of Chocolatey less than 0.9.9.
  'Batch file could not be found' is also safe to ignore.
  'The system cannot find the file specified' - also safe.
Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
 first prior to using choco.
Ensuring chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder}
4 respostas
solução!

Tiago

Você abriu o prompt com admin ? (clicar com o direito, abrir com administrador. )

Faça esse comando (abra o prompt como admin):

choco upgrade chocolatey

me informe o resultado.

Tiago, esses avisos não são avisos de erro. Você testou instalar alguma coisa e não deu certo?

Caio, tudo bem! Tentei fazer o Upgrade e gerou essa informação. Utilizei o modo administrador.

choco upgrade chocolatey
Upgrading the following packages:
chocolatey
By upgrading you accept licenses for the packages.
chocolatey v0.9.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).

Caio,

Muito obrigado! Realmente era uma questão de atualização. Já conseguir visualizar a versão no CMDER.

λ choco
Chocolatey v0.9.10.3