We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use scoop to install app and control version is a good idea.
The text was updated successfully, but these errors were encountered:
Here are some powershell codes for reference.
function Get-ScoopAppName ([Parameter(Mandatory)] $Name) { $alias = @{ 'sublime' = 'sublime-text' 'code' = 'vscode' 'notepad++' = 'notepadplusplus' 'mysql' = 'mariadb' } if ($alias.ContainsKey($Name)) { return $alias.$Name } else { return $Name } } function Install-LaragonApp ([Parameter(Mandatory)] $Name) { scoop install (Get-ScoopAppName($Name)) Remove-Item "C:\laragon\bin\$Name" -Recurse -Force -ErrorAction Ignore $appDir = scoop prefix (Get-ScoopAppName($Name)) if ($Name -in 'apache', 'memcached', 'mongodb', 'mysql', 'nginx', 'nodejs', 'php', 'python', 'redis') { $appDir = Split-Path $appDir } New-Item "C:\laragon\bin\$Name" -ItemType Junction -Value $appDir } function Uninstall-LaragonApp ([Parameter(Mandatory)] $Name) { scoop uninstall (Get-ScoopAppName($Name)) Remove-Item "C:\laragon\bin\$Name" -Recurse -Force -ErrorAction Ignore }
For example:
Install-LaragonApp nginx
Sorry, something went wrong.
see https://github.com/star2000/laragon to use
No branches or pull requests
Use scoop to install app and control version is a good idea.
The text was updated successfully, but these errors were encountered: