Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Commits
7c8929fe
Commit
7c8929fe
authored
4 years ago
by
Ron Toland
Browse files
Options
Downloads
Patches
Plain Diff
add default install instructions for apple silicon
parent
8ed9b443
No related branches found
No related tags found
1 merge request
!54
Add install cmd for Apple Silicon wrt #101
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
www/index.html
+6
-2
6 additions, 2 deletions
www/index.html
with
6 additions
and
2 deletions
www/index.html
+
6
−
2
View file @
7c8929fe
...
...
@@ -104,9 +104,11 @@
<div id="platform-instructions-default" class="instructions">
<div>
<p>To install Haskell, if you are running Linux, macOS, FreeBSD or Windows Subsystem for Linux, run the following
<p>To install Haskell, if you are running Linux, macOS
(on Intel)
, FreeBSD or Windows Subsystem for Linux, run the following
in your terminal (as a user other than root), then follow the onscreen instructions.</p>
<div class="command-button"><pre><span class=
'
ghcup
-
command
'
>curl --proto
'
=
https
'
--tlsv1.2 -sSf https://get-ghcup.haskell.org | sh</span></pre><button class="tooltip" onclick="copyToClipboard()"><img src="copy.svg" alt="" /><span class="tooltiptext">Copy to clipboard</span></button></div>
<p>For macOS on Apple Silicon, run this instead:</p>
<div class="command-button"><pre><span class=
'
ghcup
-
command
'
>curl --proto
'
=
https
'
--tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash</span></pre><button class="tooltip" onclick="copyToClipboard()"><img src="copy.svg" alt="" /><span class="tooltiptext">Copy to clipboard</span></button></div>
<p class="other-help">If you don
'
t
like
curl
|
sh
,
see
<
a
href
=
"
https://gitlab.haskell.org/haskell/ghcup-hs#manual-install
"
>
other
installation
methods
<
/a>.</
p
>
<
/div
>
...
...
@@ -149,9 +151,11 @@
<div
id=
"platform-instructions-default"
class=
"instructions"
>
<div>
<p>
To install Haskell, if you are running Linux, macOS, FreeBSD or Windows Subsystem for Linux, run the following
<p>
To install Haskell, if you are running Linux, macOS
(on Intel)
, FreeBSD or Windows Subsystem for Linux, run the following
in your terminal (as a user other than root), then follow the onscreen instructions.
</p>
<pre><span
class=
'ghcup-command'
>
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
</span></pre>
<p>
For macOS on Apple Silicon, run this instead:
</p>
<div
class=
"command-button"
><pre><span
class=
'ghcup-command'
>
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash
</span></pre><button
class=
"tooltip"
onclick=
"copyToClipboard()"
><img
src=
"copy.svg"
alt=
""
/><span
class=
"tooltiptext"
>
Copy to clipboard
</span></button></div>
<p
class=
"other-help"
>
If you don't like curl | sh, see
<a
href=
"https://gitlab.haskell.org/haskell/ghcup-hs#manual-install"
>
other installation methods
</a>
.
</p>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment