Home > Back-end >  Install the SDK micronaut in Windows environment
Install the SDK micronaut in Windows environment

Time:04-26

1. The Chocolatey installation:
Choco install micronaut
2. The Binary Binary installation: set the environment variable [% MICRONAUT_HOME %]
% MICRONAUT_HOME % \ bin
Attention!!!!!!
In general, run CMD. EXE (or Powershell. EXE) program does not have a super administrator privileges, but only the corresponding permissions of the current user, even if your computer is only one user (you can see the list of users), does not necessarily have super administrator privileges, so at the time of installation chocolatey complains, said authority is not enough (enough permissions can lead to some files for installation and do not have permission to write to disk C and failure),
The solution: as an administrator to run CMD. EXE or Powershell. EXE
Specific steps:
1. Using CMD. Exe installation chocolatey:
1.1. Open the folder: C: \ Windows \ System32 \ find CMD exe.
1.2. Then select and click the right mouse button;
1.3. Choose [as an administrator to run]
2. Use powershell. Exe installation chocolatey:
The same approach and CMD. Exe, find powershell. After exe can be run as an administrator, because powershell is V1 version of Windows 7, did not meet the requirements of the installation of the chocolatey, so I use the CMD. Exe, powershell. Exe probably path: C: \ Windows \ System32 \ WindowsPowerShell \ v1.0 (Windows 7 default powershell. Exe path), the other versions of Windows system powershell. Exe specific path can be found by searching,
This is the true with super administrator privileges of CMD. Exe (powershoell. Exe), you will see the CMD. Exe (powershoell. Exe) window title shows "administrator... "), which will help to run the setup chocolatey code to access a mistake,
  • Related